aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/index/final.sort
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/index/final.sort')
-rw-r--r--src/cmd/index/final.sort5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd/index/final.sort b/src/cmd/index/final.sort
new file mode 100644
index 00000000..37c68a24
--- /dev/null
+++ b/src/cmd/index/final.sort
@@ -0,0 +1,5 @@
+# final.sort
+# Input/Output: sort key (tab) string (tab) numlist
+# Sort by $1 (string)
+
+sort -t' ' +0fd -1 +0f -1 $*