[Bug 271791] sed: substitute start/end of line broken with N
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271791] sed: substitute start/end of line broken with N"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271791] sed: substitute start/end of line broken with N"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271791] sed: substitute start/end of line broken with N"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271791] sed: substitute start/end of line broken with N"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271791] sed: substitute start/end of line broken with N"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271791] sed: substitute start/end of line broken with N"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271791] sed: substitute start/end of line broken with N"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Jun 2023 20:51:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271791
Bug ID: 271791
Summary: sed: substitute start/end of line broken with N
Product: Base System
Version: 13.2-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: mohd.akram@outlook.com
To reproduce:
printf '%s\n' hello '' world | sed -n -e 's/^//' -e '$!N' -e P -e D
Expected output:
hello
world
Actual output:
hello
h
world
--
You are receiving this mail because:
You are the assignee for the bug.