in reply to Re^2: awk...ward
in thread awk...ward


Inline::Awk gives you all the power (?!) of awk from within a Perl program:
perl -le 'use Inline Awk=>q({print $1}); awk()' file

I agree with you that the output of a2p isn't pretty and it is probably not the best way for an awk programmer to learn Perl.

--
John.

Replies are listed 'Best First'.
Re^4: awk...ward
by belg4mit (Prior) on Mar 01, 2005 at 13:56 UTC