in reply to What's the difference between stat and sort?

works perfectly:

[1158]tom@margo scratch $ perl -e 'my $lf = (sort(<*>))[-1]; print $lf +, "\n";' zoom?id=aaaaaaaaaaaawax
zoom... is (a file wget produced and) the last element in the sorted list.

What did you expect? What did you get?

regards,
tomte


An intellectual is someone whose mind watches itself.
-- Albert Camus