Perl, grep, cut, paste, sort and occasionally awk. And Vim, of course. Vim is a text processing tool of immense power. I will reiterate what's been said already: learn a flexible solution well. Chris