andperl -e 'my $lf = (sort(<*>))[-1];print $lf'
.perl -e 'my $foo = (stat("myfile"))[7];print $foo'
In reply to Re: What's the difference between stat and sort?
by beable
in thread What's the difference between stat and sort?
by PetaMem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |