using exit codes
mokeefe at qualcomm.com
Fri Mar 5 14:52:37 PST 2004
George Georgalis wrote:
> Hi all,
> anybody know how to capture specific exit codes from programs?
> ie what's the magic exitcode function?
> e=exitcode "sh program.sh"
$? in bash
prolly $? in *sh interpreters
Michael O'Keefe | mokeefe at qualcomm.com_
Live on and Ride a 03 BMW F650GSDakar| roxus at cox.net / |
I like less more or less less than |Work:+1 858 845 3514 / |
more. UNIX-live it,love it,fork() it |Fax :+1 858 651 1984 /_p_|
My views are MINE ALONE, blah, blah, |Home:+1 858 748 5432 \`O'|
blah, yackety yack - don't come back |Fax :+1 858 _/_\|_,
More information about the KPLUG-List