Hacker News new | ask | show | jobs
by alexlarsson 2246 days ago
Yeah, this is obviously a replace vs in-place modify difference. Could replace the script with a simple copy-to-temp+rename-back.
1 comments

Or not use ed(1).
Personally I use magnets to flip bits around, ed(1) seems a bit to bloated for me.
Who needs magnets when you have cosmic rays?