Search and replace across many files with a perl one-liner

Filed under
HowTos

Hello nerdlings! Steve has gone jolly wild with perl this festive season. And to add to the spirit, here's a piece from me on how to do a search and replace across many files in one line of perl, for several kinds of cases:

  1. The good- the simple case

  2. The ugly - the multiple line case
  3. The bad - the stupid case
  4. Executive summary

Full Article.