[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sh -c "# foo bar"; echo $?
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: sh -c "# foo bar"; echo $?
- From: Christian Weisgerber <naddy_(_at_)_unix-ag_(_dot_)_uni-kl_(_dot_)_de>
- Date: Wed, 10 Nov 1999 17:22:27 +0100
I'd like to know what
sh -c '# foo bar'; echo $?
returns for other people.
For me it's 1 on 2.6/sparc and 2.6/alpha. Bizarrely enough, pdksh on
FreeBSD returns 0. Same version.
--
Christian "naddy" Weisgerber naddy_(_at_)_unix-ag_(_dot_)_uni-kl_(_dot_)_de
Visit your host, monkey.org