bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sed bug(maybe)


From: Gary Poppitz
Subject: sed bug(maybe)
Date: Fri, 23 Feb 2001 16:10:51 -0800

here is a sample of what I believe to be a bug in sed. v 3.0.2  from RH6.2 .
It looks like it is matching the input lines, and then for EACH matched line
is outputting the replacement block.

`c\' 
`text' 
Delete the lines matching the address or address-range, and output the lines
of text which follow this command (each but the last ending with a \, which
will be removed from the output) in place of the last line (or in place of
each line, if no addresses were specified). A new cycle is started after
this command is done, since the pattern space will have been deleted. 

Im not sure what "(or in place of each line, if no addresses were
specified)" means but I believe that means no range was provided which isnt
the case here. 

Attachment: testinput
Description: application/applefile

Attachment: testinput
Description: Binary data

Attachment: testsh
Description: application/applefile

Attachment: testsh
Description: Binary data

Attachment: testoutput
Description: application/applefile

Attachment: testoutput
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]