I'd do that as:
ls -l|perl -pale '$_=$F[4]'
which saves a couple of characters. I know what you mean, but I forgot most of the awk and sed that I ever knew when I learnt Perl.
--
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
In reply to Re: awk has its place
by davorg
in thread AWK and Perl on UNIX
by Zo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |