bash question

Ralph W. Reid rreid at sunset.net
Thu Aug 5 18:52:13 EDT 2004


Try `echo $?` immediately after the program is finished (before
running anything else).  HTH and have a _great_ day!

On Wed, Aug 04, 2004 at 11:39:18PM -0500, Gregory Nowak wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi all.
> 
> If I'm running a program by invoking it from a bash prompt, can
> someone please tell me how I can check it's return value? I looked at
> the bash man page, but couldn't find anything on this. Thanks.
> 
> Greg
> 
> 
> - -- 
> Free domains: http://www.eu.org/ or mail dns-manager at EU.org
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> 
> iD8DBQFBEbn27s9z/XlyUyARArHZAJwOsM88C5FJSm8hQTPZW5nXFvuTrgCgihIB
> sAEDzTj+QAJp4PVyD3dgoqw=
> =nVkf
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
Ralph.  N6BNO.  Wisdom comes from central processing, not from I/O.
rreid at sunset.net  http://personalweb.sunset.net/~rreid
Opinions herein are either mine or they are flame bait.
CIRCLE RADIUS = sqrt (x ^ 2 + y ^ 2)




More information about the Speakup mailing list