Robert Klemme wrote on 10/13/2005 4:01 AM:
this thread (and the removing duplicate lines thread) are a good
example of ruby's tim toadie.
i would have probably come up with the a variation on the gsub examples.
I would call it more of an example of TIMTOWTDI for *n*x in general.
You can write a short script in any number of languages, or use any
number of already built tools (awk, grep) to do it. Myself, I'd just
use my trusty old grep (I'll concede it's not readily available on a
default windows install).
Know thy tools -- only reinvent the wheel if it *needs* reinventing.
Jacob Fugal