Linux.com: CLI Magic: Who Sed that?
Jan 25, 2005, 05:30 (0 Talkback[s])
(Other stories by Joe Barr)
"Wake up, you lolly-gagging Gui-gophers, or you'll miss what's
being Sed. If you haven't used Sed before, you're missing a
powerful jewel. It's a fast and useful tool. First, a confession.
Before writing this column I had never used it. I wasn't even sure
what it did. Now, I'm an expert. Come on, I'll tell you all about
"So what is Sed? I could lie and say it's an editor for Field
and Stream, but that would only be partially true. It's the GNU
Stream Editor. That is, the data to be edited is passed by the
editor instead of the other way around. One time. Top to bottom.
Start to finish. Get it? Sed acts on the file once, as it passes