🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #858

Brace yourself for a bug :-)

#858
From: Bill Trost,Box 607,ext 571,497
Date: Mon, 22 Jan 1990 00:14
10 lines
713 bytes
The command line
	{ sleep 3 ; /bin/echo foo } &
gets parsed as
	sleep 3 ; /bin/echo foo &

under bash 1.04 on our machines here.  /bin/sh interprets it as
	( sleep 3; /bin/echo foo ) &
if a semicolon is placed after "foo" (and passes "}" to echo
otherwise; i.e., "}" must come first on the command line to have its
meaning as a grouping symbol).
Technical Details
Message-ID: <13925@reed.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!ogicse!reed!trost

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!ogicse!reed!trost
From: trost@reed.bitnet (Bill Trost,Box 607,ext 571,497)
Newsgroups: gnu.bash.bug
Subject: Brace yourself for a bug :-)
Message-ID: <13925@reed.UUCP>
Date: 22 Jan 90 00:14:16 GMT
Sender: news@reed.UUCP
Lines: 10