Path: utzoo!telly!philmtl!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ROBIN.HUT.FI!gson From: gson@ROBIN.HUT.FI Newsgroups: gnu.bash.bug Subject: Bash bug report: exit status of backquote expression Message-ID: <8912031910.AA12853@robin.hut.fi> Date: 3 Dec 89 19:10:17 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 16 Bash version: 1.04 Hardware: 386 clone running SCO Xenix/386, /bin/cc (Microsoft C compiler) Also: Sony NWS-1510 running NEWS-OS, compiler unknown Description: Bash treats nonzero exit status from commands within backquotes differently from the bourne shell. Repeat-by: $ bash -c 'FOO=`false`; echo $?' 0 $ sh -c 'FOO=`false`; echo $?' 1 -- Andreas Gustafsson Internet: gson@joker.hut.fi Voice: +358 0 563 5592