How about this?
alias max {
window -hl @@
aline @@ $*
filter -wwcute 1 10 @@ @@
var %a = $line(@@,1)
close -@ @@
return %a
}
Regarding the original challenge in this thread, Jerk's method is almost certainly the fastest/shortest one to sort
numbers.
Last edited by qwerty; 17/08/03 07:29 PM.