Re: echo command

2000-09-14 Thread Anthony E . Greene
On 14 Sep 2000 13:55 Stephen King wrote: >What is the echo command that returns a 0 if the previous command ran >correctly? Assuming bash shell: echo $? -- Anthony E. Greene <[EMAIL PROTECTED]> <http://www.pobox.com/~agreene/> PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA

Re: echo command

2000-09-14 Thread Etienne Larrivee
27;s not 'bleah' file. Etienne Stephen King wrote: > What is the echo command that returns a 0 if the previous command ran > correctly? ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list

RE: echo command

2000-09-14 Thread Jamie Smith
echo $? -Original Message- From: Stephen King [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 14, 2000 12:55 PM To: [EMAIL PROTECTED] Subject: echo command What is the echo command that returns a 0 if the previous command ran correctly

Re: echo command

2000-09-14 Thread Bret Hughes
Stephen King wrote: > What is the echo command that returns a 0 if the previous command ran > correctly? echo $? will return the return code of the previously run command. 0 if successful. Bret ___ Redhat-list mailing list [EMAIL PRO

Re: echo command

2000-09-14 Thread Steve Borho
On Thu, Sep 14, 2000 at 10:55:17AM -0700, Stephen King wrote: > What is the echo command that returns a 0 if the previous command ran > correctly? echo $? But I find it more useful to use other constructs... program_foo && echo "It ran fine" -- Steve Borho

echo command

2000-09-14 Thread Stephen King
What is the echo command that returns a 0 if the previous command ran correctly? BEGIN:VCARD VERSION:2.1 N:King;Stephen FN:Stephen King ORG:Information Anywhere, Inc TEL;WORK;VOICE:800-585-3805 TEL;CELL;VOICE:209-304-3459 TEL;WORK;FAX:209-223-1048 URL: URL:http://www.infoany.net EMAIL;PREF