Summary: | sed: substitute start/end of line broken with N | ||
---|---|---|---|
Product: | Base System | Reporter: | Mohamed Akram <mohd.akram> |
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Open --- | ||
Severity: | Affects Only Me | CC: | lwhsu, pat |
Priority: | --- | ||
Version: | 13.2-RELEASE | ||
Hardware: | Any | ||
OS: | Any |
Description
Mohamed Akram
2023-06-02 20:51:12 UTC
This is reproducible on -current. The output of GNU sed: $ printf '%s\n' hello '' world | gsed -n -e 's/^//' -e '$!N' -e P -e D hello world |