sed is the ancient UNIX “stream editor”, mastery of which is every UNIX newbie’s test of true geekness. I find it vastly preferable to the Perl behemoth for parsing simple files in embedded systems – or brain-dead semi-proprietary UNIX boxes that have nothing but the most basic userland components.
bookmarked for later reference
[composed and posted with ecto]