<p>More accurately "cmd > file", because that's redirection of stdout, not a pipe...</p>
<p>--<br>
Sent from my phone... a G2 running CM7 nightlies!</p>
<div class="gmail_quote">On Mar 15, 2011 4:02 PM, "Geoffrey Myers" <<a href="mailto:lists@serioustechnology.com">lists@serioustechnology.com</a>> wrote:<br type="attribution">> Jim Kinney wrote:<br>>> vs. cmd1; cmd2 which is run command 1 then command 2 regardless of<br>
>> end status of 1<br>>> <br>>> or cmd1 | cmd2 while take stdout of cmd1 and stdin for cmd2<br>>> <br>>> or...<br>> <br>> cmd1 > cmd2<br>> <br>> which writes the output of cmd1 to cmd2. Hopefully your cmd2 was not in <br>
> this directory when you did this. :)<br>> <br>>> <br>>> On Tue, Mar 15, 2011 at 2:49 PM, Michael Trausch <<a href="mailto:mike@trausch.us">mike@trausch.us</a>> wrote:<br>>>> cmd1 && cmd2<br>
>>><br>>>> The && says run cmd2 only if the exit status of cmd1 indicates success (that<br>>>> is, is 0). The opposite of that is:<br>>>><br>>>> cmd1 || cmd2<br>>>><br>
>>> Which says to run cmd2 if the exit status of cmd1 is something other than 0.<br>>>><br>>>> --<br>>>> Sent from my phone... a G2 running CM7 nightlies!<br>>>><br>>>> On Mar 15, 2011 1:57 PM, "Ron Frazier" <<a href="mailto:atllinuxenthinfo@c3energy.com">atllinuxenthinfo@c3energy.com</a>><br>
>>> wrote:<br>>>>> Could you explain what that does? Are you saying enter both commands on<br>>>>> the same line like you typed it?<br>>>>><br>>>>> Sincerely,<br>>>>><br>
>>>> Ron<br>>>>><br>>>>> On 03/15/2011 01:22 PM, JD wrote:<br>>>>>> Perhaps I'm crazy, but I always do<br>>>>>><br>>>>>> sudo apt-get update&& sudo apt-get upgrade<br>
>>>>><br>>>>>><br>>>>>> together before installing any new packages. This keeps all the<br>>>>>> underlying packages current - that could be the issue you are seeing<br>
>>>>> between the different systems. In real-time programming, this is known<br>>>>>> as data homogeneity. All the data on a specific thread/priority cannot<br>>>>>> be changed by outside priorities until the thread/priority finishes.<br>
>>>>> Basically, you get consistent data before you begin processing.<br>>>>>><br>>>>>> I do agree that not doing the "upgrade" should work provided you aren't<br>
>>>>> too out of date with patches. I've just never wanted to test that.<br>>>>>><br>>>>>><br>>>>>><br>>>>>> On 03/15/2011 12:42 PM, Ron Frazier wrote:<br>
>>>>><br>>>>>>> Preston,<br>>>>>>><br>>>>>>> I can't say what happened. The commands below worked on the other PC's<br>>>>>>> with no problem. PC #3 is running the same version of Ubuntu, but the<br>
>>>>>> process failed and threw the errors I posted. I tried it yesterday, but<br>>>>>>> I have no explanation. Once I installed that one package manually, the<br>>>>>>> rest worked. I actually did the last two commands from synaptic, but the<br>
>>>>>> result should be the same either way.<br>>>>>>><br>>>>>>> sudo add-apt-repository ppa:libreoffice/ppa<br>>>>>>> sudo apt-get update<br>>>>>>> sudo apt-get install libreoffice<br>
>>>>>> sudo apt-get install libreoffice-gnome<br>>>>>>><br>>>>>>> Sincerely,<br>>>>>>><br>>>>>>> Ron<br>>>>>>><br>
>>>>>> On 03/15/2011 11:17 AM, Preston Boyington wrote:<br>>>>>>><br>>>>>>>> Ron Frazier wrote:<br>>>>>>>><br>>>>>>>><br>>>>>>>>> I was trying to install Libre Office on my 3rd PC using the PPA as<br>
>>>>>>>> described in prior posts. It threw up a bunch of dependency errors:<br>>>>>>>>><br>>>>>>>>><br>>>>>>>> <SNIPPED><br>
>>>>>>><br>>>>>>>><br>>>>>>>><br>>>>>>>>> I tried the same thing from synaptic and got the same result. From<br>>>>>>>>> synaptic, I installed libreoffice-common manually, then was able to<br>
>>>>>>>> install libreoffice and libreoffice-gnome with no problem. I don't<br>>>>>>>>> know<br>>>>>>>>> what was different on this PC, but it seems to be working now.<br>
>>>>>>>><br>>>>>>>>><br>>>>>>>> just curious, but has the PPA been updated or is your Ubuntu system<br>>>>>>>> using slightly different sources?<br>
>>>>>>><br>>>>>>>><br>>>>>>>><br>>>>>><br>>>>> --<br>>>>><br>>>>> (PS - If you email me and don't get a quick response, you might want to<br>
>>>> call on the phone. I get about 300 emails per day from alternate energy<br>>>>> mailing lists and such. I don't always see new messages very quickly.)<br>>>>><br>>>>> Ron Frazier<br>
>>>><br>>>>> 770-205-9422 (O) Leave a message.<br>>>>> linuxdude AT <a href="http://c3energy.com">c3energy.com</a><br>>>>><br>>>>> _______________________________________________<br>
>>>> Ale mailing list<br>>>>> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>>>>> <a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a><br>>>>> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
>>>> <a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a><br>>>> _______________________________________________<br>>>> Ale mailing list<br>>>> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
>>> <a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a><br>>>> See JOBS, ANNOUNCE and SCHOOLS lists at<br>>>> <a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a><br>
>>><br>>>><br>>> <br>>> <br>>> <br>> <br>> <br>> -- <br>> Until later, Geoffrey<br>> <br>> "I predict future happiness for America if they can prevent<br>> the government from wasting the labors of the people under<br>
> the pretense of taking care of them."<br>> - Thomas Jefferson<br>> _______________________________________________<br>> Ale mailing list<br>> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>> <a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a><br>
> See JOBS, ANNOUNCE and SCHOOLS lists at<br>> <a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a><br></div>