Comment by AdieuToLogic
3 months ago
> The command line flags to learn about to get all these features are: -p -i -n -l -a -e
One of my favorite Perl mnemonics when needing to apply edits to a set of files is:
With Perl, it is as easy as pie.
Which reminds me that making a global substitution across N files can be done with:
perl -p -i -e '<insert substitution here>' $WHAT_FILES
No comments yet
Contribute on Hacker News ↗