On Wed, Jul 25, 2001 at 12:30:03PM -0700, Stephanie Stiavetti wrote:
> another question.  I'm writing a script where I need to append a file, and
> I'd like it to do one thing if the command is successful, and another if it
> fails.  how do I check to make sure it successfully appended the file?

If this is all you're doing then you have but to check the return value of
print to verify that it printed ok.

Why are you trying to verify the append went ok?  Are there cases were you
don't expect it to?


Michael
--
Administrator                      www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to