works perfectly:
zoom... is (a file wget produced and) the last element in the sorted list.[1158]tom@margo scratch $ perl -e 'my $lf = (sort(<*>))[-1]; print $lf +, "\n";' zoom?id=aaaaaaaaaaaawax
What did you expect? What did you get?
regards,
tomte
An intellectual is someone whose mind watches itself.
-- Albert Camus
In reply to Re: What's the difference between stat and sort?
by Tomte
in thread What's the difference between stat and sort?
by PetaMem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |