aboutsummaryrefslogtreecommitdiff
path: root/pkg/system/sort.com
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /pkg/system/sort.com
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
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