RE: Testing for command success

2002-05-07 Thread Ho, Tony
: 07 May 2002 17:38 To: [EMAIL PROTECTED] Subject: Testing for command success I'd like to test the following command to see if it ran successfully? Have no idea how or which variable stores the success of a command ($!, $], $_ )? system tar cvf ../test.tar *.grib; Tried: if (system tar cvf

Re: Testing for command success

2002-05-07 Thread Chas Owens
On Tue, 2002-05-07 at 11:37, siren jones wrote: I'd like to test the following command to see if it ran successfully? Have no idea how or which variable stores the success of a command ($!, $], $_ )? system tar cvf ../test.tar *.grib; Tried: if (system tar cvf ../test.tar *.grib;)

RE: Testing for command success

2002-05-07 Thread Timothy Johnson
:[EMAIL PROTECTED]] Sent: 07 May 2002 17:38 To: [EMAIL PROTECTED] Subject: Testing for command success I'd like to test the following command to see if it ran successfully? Have no idea how or which variable stores the success of a command ($!, $], $_ )? system tar cvf ../test.tar *.grib; Tried