Path: 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 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