in reply to Grep n awk

In addition to what ww asked, why do you "have to do it in a [P]erl script"? If I were to pick a program to accomplish your task, I'd use grep.


#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.