Subject: broken sed insert command in 1.3_ALPHA?
To: None <port-arm32@NetBSD.ORG>
From: Stefan Voss <voss@yoda.in-berlin.de>
List: port-arm32
Date: 05/03/1998 18:00:13
Hi folks,

is sed's insert command broken in 1.3_ALPHA? In my system only a lot of
garbage is displayed. Here's how mine behaves on a simple command:

voss@yoda:/home/voss > echo bar | sed '1i\
> foo'
[lot of non-printable garbage deleted]


Compiling a new GNU sed 2.0.5 solves the problem:

voss@yoda:/home/voss > echo bar | /home/voss/sed-2.05/sed '1i\
> foo'
foobar

voss@yoda:/home/voss > ls -l /usr/bin/sed 
-r-xr-xr-x  1 bin  bin  94208 Oct 31  1997 /usr/bin/sed

Other sed commands like the often used substitute ('s/old/new/g') don't
seem to be affected. Do other 1.3_ALPHA installation show the same
behaviour? What about 1.3.1 systems? Does sed work correctly there?

Regards,
   Stefan
   
-- 
Stefan Voss
(voss@yoda.in-berlin.de)