[HPADM] Script exit code

From: Joe Crawford (abjcrawford@yahoo.com)
Date: Tue Nov 26 2002 - 10:51:34 EST


Team:

 We have a requirement that in a shell script we
should be able to pass a 50 character text message
based on the exit codes. Sat if the exit code is
0(success) it is fine OR if the exit code is 1
(failure) then we have to pass a text message. This
script would communicate back to an application and i
am not sure how to handle the text message part besed
on exit codes. Can someone help? Thanks in advance.

Thanks
Joe

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:22 EDT