Sort the tally numerically, not alphabetically
- ID
0d0aff0- date
2024-05-09 19:04:43+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
b9bce73- message
Sort the tally numerically, not alphabetically eg 2000 should sort higher than 200- changed files
1 file, 1 addition, 1 deletion
Changed files
text/tally (406) → text/tally (426)
diff --git a/text/tally b/text/tally
index 2d03eef..53fec92 100755
--- a/text/tally
+++ b/text/tally
@@ -16,4 +16,4 @@
set -o errexit
set -o nounset
-sort | uniq -c | sort
+sort | uniq --count | sort --numeric-sort