http://qs321.pair.com?node_id=1029818


in reply to calling awk one liner from perl

Consider using a2p to help "upgrade" your awk command to Perl. Actually, I'd convert this by hand but a2p might help you get a first approximation.