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/>
References:  <bug-271817-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271817

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.u=
k> ---
I see no way to justify your "expected" output from the specification. (I a=
lso
can't justify the actual output, but it deviates less from the spec than yo=
ur
"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".

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



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