Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Aug 1996 14:09:35 +0200 (MET DST)
From:      Lars Koeller <Lars_Koeller@odie.physik2.uni-rostock.de>
To:        freebsd-questions@freefall.FreeBSD.org
Subject:   sed in 2.1.5 is buggy??
Message-ID:  <199608031209.OAA01218@odie.physik2.uni-rostock.de>

next in thread | raw e-mail | index | archive | help

   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 Köller                  Phone:  +49 381/498-1665, Fax: -1667
University of Rostock        E-Mail: 
Department of Physics          Lars_Koeller@odie.physik2.Uni-Rostock.DE
Universitätsplatz 3          Anonymous ftp:
D-18051 Rostock (Germany)      ftp://odie.physik2.uni-rostock.de/pub





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608031209.OAA01218>