5 ms·
sed does not operate on files directly unless turned (-i)nteractive.
by btdmaster 5y ago
sed does not operate on files directly unless turned (-i)nteractive.
- okl 5y ago-i is short for --in-place
- gbrown_ 5y agoMinor quibble the -i option mnemonic is "in-place" rather than "interactive".
- llimllib 5y agooh good one, prettier does the same thing - output to stdout unless --write is set
- adrianstoll 5y agoI only use sed on version controlled files and immediately run git diff afterwards to check the results.