[Bug 230507] sed 'q' command preventing -i from creating backup

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 11 12:58:17 UTC 2018


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

--- Comment #1 from Tim Chase <freebsd at tim.thechases.com> ---
I've reduced the test-case to just the `q` and it still works:

    $ sed 2q a
    1
    2
    $ sed -i.bak 2q a

This leaves `a` unmodified, without creating a .bak file.

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


More information about the freebsd-bugs mailing list