Try:ls | perl -nle 'print "$_: ", -A'
The second one should not expand to 'ls --color' like the first one is prone to do.\ls | perl -nle 'print "$_: ", -A'
-Blake
In reply to Re: Why system calls suck.
by blakem
in thread Why system calls suck.
by japhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |