🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #666

Bash/4.3BSD sh incompatability

#666
From: David Elliott
Date: Mon, 16 Oct 1989 17:31
25 lines
949 bytes
When trying to use bash to replace sh on a 4.3BSD-based system, the
C news distribution inews program broke due to a problem similar to
the one shown below:

Script started on Mon Oct 16 10:25:52 1989
icky 1>cat t.sh
#!/bin/sh

( echo "foo" ; echo "bar" ) > bar.$$
( echo "foo" ; echo "bar" ) \
	> baz.$$
( echo "foo" ;
  echo "bar" ) \
	> baz.$$

rm -f bar.$$ baz.$$
icky 2>sh t.sh
icky 3>bash t.sh
in line 5: `	> baz.$$'
in line 8: `	> baz.$$'
icky 4>^D
script done on Mon Oct 16 10:26:07 1989

David Elliott
dce@sony.com | ...!{uunet,mips}!sonyusa!dce
Technical Details
Message-ID: <1989Oct16.173108.841@sony.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!mips!sony.com!dce

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!mips!sony.com!dce
From: dce@sony.com (David Elliott)
Newsgroups: gnu.bash.bug
Subject: Bash/4.3BSD sh incompatability
Message-ID: <1989Oct16.173108.841@sony.com>
Date: 16 Oct 89 17:31:08 GMT
Reply-To: dce@icky.sony.com (David Elliott)
Distribution: gnu
Organization: Sony Microsystems Corp.
Lines: 25