sed in 2.1.5 is buggy??

[ Available lists | Index of freebsd-questions | Month of Aug 1996 | Week of 3 Aug 1996 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Lars Koeller <Lars_Koeller@odie.physik2.uni-rostock.de>
Date
3 Aug 1996 05:09:41
Subject
sed in 2.1.5 is buggy??
Message-ID
199608031209.OAA01218@odie.physik2.uni-rostock.de


[ Hide this part ]
 
Hi!

The sed included in 2.1.5 is perhaps a little bit buggy! The
faces.sendmail script which works up to now without any trouble seems to
be not accepted from the sed anymore (error on the branch copy command).

I get the GNU set-2.05 and all works fine!

Here is the script

cat $HOME/.face - | gsed -n \
-e '1s/^/X-Face:/' \
-e 1h \
-e 1d \
-e '/^[ ]/{H;d;}' \
-e ': copy0' \
-e '/^$/!{p;n;}' \
-e '/^$/!b copy0' \
-e g \
-e p \
-e 'a\

' \
-e n \
-e ': copy' \
-e p \
-e n \
-e 'b copy' | /usr/sbin/sendmail "$@"

Is this a feature or a bug?

Lars
--
________________________________________________________________________
Lars Kller Phone: +49 381/498-1665, Fax: -1667
University of Rostock E-Mail:
Department of Physics Lars_Koeller@odie.physik2.Uni-Rostock.DE
Universittsplatz 3 Anonymous ftp:
D-18051 Rostock (Germany) ftp://odie.physik2.uni-rostock.de/pub




Elapsed time: 0.099 seconds