awk(1) is your friend.
I'd pick perl(1)
myself ... this is standard on just about all modern
Un*ces of any flavour.
At least on my favorite Unix, NetBSD, perl(1) is an option
that needs to
be installed separately. awk(1) is "everywhere".
I did say just about ;) (and btw, NetBSD is my OS of choice also).
--
---------------------------------- personal:
http://www.armory.com/~spectre/ --
Cameron Kaiser, Floodgap Systems Ltd * So. Calif., USA * ckaiser(a)floodgap.com
-- An apple every eight hours will keep three doctors away. -------------------