On Thu, Jul 22, 2010 at 6:52 PM, Daniel Dickman <didickman@gmail.com> wrote:
The only thing close to ambiguous is running env with a bad command
line, in which case you get usage and exit 1. Don't do that.
If you get back a 0 it means, tada, it worked!
If you get back 127, it means env didn't find the command. Unless you
did something retarded like run env env env env diddly, and then it's
not env returning 127 but the inner inner inner env. I really hope
this is not the kind of problem you are facing when writing a shell
script.
You are clearly reading this exactly backwards.
Of all the possible bugs in OpenBSD to worry about, this one strikes
me as the teensiest of mole hills. Please move on to a real problem.