|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: Awk and Perl unique featuresby JavaFan (Canon) |
| on Apr 16, 2010 at 09:42 UTC ( [id://835055]=note: print w/replies, xml ) | Need Help?? |
|
Somehow, I find awk '{print $3}' easier to type/remember than perl -anle 'print $F[2]'. That's about the only case I use awk for nowadays - and then I only use it in shell one-liners.
Of course, if I have to write a program in an environment that doesn't have perl available, I'd use awk. But last time that happened is a few years ago.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||