🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by David Elliott Mon, 16 Oct 1989 17:31
Bash/4.3BSD sh incompatability
#666
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads