🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #795

Bash bug report: exit status of backquote expression

#795
From: gson
Date: Sun, 03 Dec 1989 19:10
16 lines
817 bytes
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
Technical Details
Message-ID: <8912031910.AA12853@robin.hut.fi>
Path: arc1-ca.pugleaf.net!utzoo!telly!philmtl!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ROBIN.HUT.FI!gson

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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