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

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



OBSD 2.5 i386 PDKSH 5.2.13.7
returns 0

_______________________________
Aaron C. Springer
Boeing Security Systems Integration
aaron_(_dot_)_c_(_dot_)_springer_(_at_)_boeing_(_dot_)_com
425-865-2794
pgp key published
_______________________________

> ----------
> From: 	Christian Weisgerber[SMTP:naddy_(_at_)_unix-ag_(_dot_)_uni-kl_(_dot_)_de]
> Sent: 	Wednesday, November 10, 1999 8:22 AM
> To: 	misc_(_at_)_openbsd_(_dot_)_org
> Subject: 	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