From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- pkg/system/sort.com | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 pkg/system/sort.com (limited to 'pkg/system/sort.com') 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 -- cgit