Reading List

A Practical Guide to GNU sed With Examples from The Valuable Dev RSS feed.

A Practical Guide to GNU sed With Examples

The sun is shining today; too bad, you’re stuck in the office of your beloved company, MegaCorpMoneyMaker. Your task is to delete specific lines across thousands of XML files; it’s the “API” of an external warehouse, and, as always, they screwed it up.

You begin to write a script using your favorite programming language, when suddenly Davina, your colleague developer, comes to your desk:

“You know that you don’t have to write a script to do that? You could simply use sed in your terminal.”