-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
MHR wrote:
Second, that won't work. Sed does not perform on files in place - its output is sent to stdout unless it is redirected, and you can't redirect it back to the original file. To do something this way, you'd need a script that replaced the input file and used 'sed' to generate the new one (and then the script would have to rename it).
Au contraire:
- From the sed man page:
-i[SUFFIX], --in-place[=SUFFIX]
edit files in place (makes backup if extension supplied)