HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by phamilton | Hacker News Reader
Parent
Full thread
phamilton
·
That's platform dependent. BSD sed doesn't support -i
View on HN
_delirium
·
I don't think that's true anymore, though it was historically. The sed currently shipped with both FreeBSD and OpenBSD supports -i, at least.
electrum
·
You can use Perl in sed mode via "perl -pe" as a more portable replacement for sed.
Reply on news.ycombinator.com