http://www.perlmonks.org?node_id=1011469


in reply to Grep n awk

What have you tried? How did it fail? What messages (errors and/or warnings) did your code produce?

Oh, you do know, don't you, that this isn't a free coding service? We try to help those who help themselves. See also On asking for help (and not just "by the way," Markup in the Monastery or, at least, the directions surrounding the text-input box where you created your node).