aboutsummaryrefslogtreecommitdiff
path: root/pkg/system/sort.com
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/system/sort.com')
-rw-r--r--pkg/system/sort.com10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/system/sort.com b/pkg/system/sort.com
new file mode 100644
index 00000000..4b66ac5f
--- /dev/null
+++ b/pkg/system/sort.com
@@ -0,0 +1,10 @@
+# Common for the SORT program.
+
+int column # column to be sorted (if nonzero)
+int ignore_whitespace # ignore leading whitespace
+int numeric_sort # sort numerically rather than alphabetically
+int reverse_sort # reverse the sense of the sort
+int use_strsrt # ok to use standard STRSRT routine?
+
+common /srtcom/ column, ignore_whitespace, numeric_sort, reverse_sort,
+ use_strsrt