Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
btdmaster
· 5y ago · 0 comments
sed does not operate on files directly unless turned (-i)nteractive.
Comments
[–]
okl
5y ago
-i is short for --in-place
[–]
adrianstoll
5y ago
I only use sed on version controlled files and immediately run git diff afterwards to check the results.
[–]
gbrown_
5y ago
Minor quibble the -i option mnemonic is "in-place" rather than "interactive".
[–]
llimllib
5y ago
oh good one, prettier does the same thing - output to stdout unless --write is set