Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 1
    It doesnt edit in-place. At least, it doesnt any more than Gnu sed's bogus -i does. It reads/writes to on-disk buffers. See for yourself w/ ex -r and the preserve command. Commented Feb 1, 2016 at 16:59
  • @mikeserv What's the preserve command? Commented Sep 18, 2019 at 2:31