Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 1996 22:54:55 +0200 (MET DST)
From:      Peter Mutsaers <plm@xs4all.nl>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/1350: sed bug
Message-ID:  <199606252054.WAA00862@plm.xs4all.nl>
Resent-Message-ID: <199606252100.OAA19122@freefall.freebsd.org>

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

>Number:         1350
>Category:       bin
>Synopsis:       sed continuation lines in text don't work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 25 14:00:01 PDT 1996
>Last-Modified:
>Originator:     Peter Mutsaers
>Organization:

>Release:        FreeBSD 2.2-CURRENT i386
>Environment:


>Description:

Sed commands a,i,c are followed by lines of text, where newlines are
escaped. Currently only one line can follow. The second line is interpreted
like a new sed command.

>How-To-Repeat:

sed '1a\
hallo\
xxx
'

Output:
": extra characters at the end of x command

>Fix:
	
Remove revision 1.5 from compile.c
This was supposed to fix a bug in dealing with continuation lines
but somehow introduced this bug.

>Audit-Trail:
>Unformatted:



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