Subject: Returned values in shell scripts
To: None <netbsd-users@netbsd.org>
From: Andy Ball <ball@cyberspace.org>
List: netbsd-users
Date: 07/06/2002 21:48:31
Hello!

If I call a program (I'm thinking of xmessage initially,
but it would be helful to know in general), and that
program returns an exit value, how do I access that in
the next line of the shell script?  Is it stuffed in an
environment variable somewhere?

Regards,
  - Andy.