[gnu.bash.bug] Bash/4.3BSD sh incompatability

dce@sony.com (David Elliott) (10/17/89)

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