Sign in
plan9port
/
plan9
/
6a93bd5c92bd2954314f492f10bbcac2c3416da0
/
.
/
src
/
cmd
/
index
/
range.sort
blob: e2cdd493abca17cb3b5b47b2f8eee793beeec31c [
file
] [
log
] [
blame
]
# range.sort
# Input/Output: string (tab) ["b"|"e"|"a"] (tab) number
# Sort by $1 (string), $3 (number), then $2 ("b"|"e"|"a")
sort
-
u
'-t '
+
0
-
1
+
2n
+
1
-
2
$
*