[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sh -c "# foo bar"; echo $?



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