Hacker News new | ask | show | jobs
by prakashdanish 2127 days ago
That makes sense but in the example provided, why can't we use sed with the in-line flag?
1 comments

Because the -i flag works differently on GNU sed vs non-GNU sed and there is no way to use it portably.