And while we're on the subject, anyone who has not already learned to use AWK should really consider it. Much simpler than Perl, but capable of doing just about anything, and a very very C-like syntax.

Cheers