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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 19 03:22:03 UTC 2018


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

Yuri Pankov <yuripv at yuripv.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yuripv at yuripv.net

--- Comment #2 from Yuri Pankov <yuripv at yuripv.net> ---
What's really wrong here is that `sed -i.ext '...;q'` forgets to remove the
temporary files it has created:

$ ls '.!'*
ls: .!*: No such file or directory
$ sed -i.bak 'q' a
$ ls '.!'*
.!64330!a

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


More information about the freebsd-bugs mailing list