Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 2023 20:22:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 271817] sed: range change with N results in no output
Message-ID:  <bug-271817-227-gwvsRfZZWK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271817-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271817

Andrew "RhodiumToad" Gierth <andrew@tao11.riddles.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrew@tao11.riddles.org.uk

--- Comment #1 from Andrew "RhodiumToad" Gierth <andrew@tao11.riddles.org.uk> ---
I see no way to justify your "expected" output from the specification. (I also
can't justify the actual output, but it deviates less from the spec than your
"expected" output.)

In particular, the line "b" is read using N and deleted without ever being seen
by the /a/,/b/c  command, and therefore the replacement "x" should never be
emitted. My reading of the spec is that the "b", "d", "f" lines should be
output, but I see no reading of the spec that allows the output of "c" and "e".

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271817-227-gwvsRfZZWK>