[Bug 271817] sed: range change with N results in no output
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 271817] sed: range change with N results in no output"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Jun 2023 22:27:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271817 --- Comment #4 from Mohamed Akram <mohd.akram@outlook.com> --- (In reply to Andrew "RhodiumToad" Gierth from comment #3) Per the spec: > The sed utility shall then apply in sequence all commands whose addresses select that pattern space, until a command starts the next cycle or quits. For the c command: > Delete the pattern space. With a 0 or 1 address or at the end of a 2-address range, place text on the output and start the next cycle. So, once the c command is executed, the next cycle is started and N is not executed. -- You are receiving this mail because: You are the assignee for the bug.