home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Sort(V1.3) ARP User's Manual Sort(V1.3)
-
-
-
- NAME
- Sort - Sort a file.
-
- SYNOPSIS
- Sort From To COLSTART/k WIDTH/k CASE/s
-
- DESCRIPTION
- Sort attempts to remedy the defects of the AmigaDOS sort
- command. Unlike the AmigaDOS Sort command, this program is
- quite fast even for very large files (approximately five
- times faster than the AmigaDOS sort), and will not crash,
- even using the small default stack and very large files.
-
- If you omit the From argument from Sort, it reads from its
- standard input, which allows it to be used in pipelines.
-
- OPTIONS
- COLSTART
- This takes a numeric argument which gives the starting
- column for the sort. All entries to the left of this
- column will not be considered in the final arrangement.
-
- WIDTH
- This takes a numeric argument, which gives the width
- for the sort. You can use this to specify a 'window'
- for Sort to work on. For example, using a WIDTH of 4
- will arrange a file based on the first 4 characters of
- each line. If you also use COLSTART, then the first 4
- characters starting at that column will be the ones on
- which the sort is based.
-
- CASE
- The CASE switch will use a case-sensitive match, rather than
- the default case-insensitive match.
-
- EXAMPLE
- list >listfile
- sort listfile colstart 41
- or using pipes: list | sort colstart 41
-
- This gives a listing of all files sorted by time (i.e., from
- the earliest to the latest).
-
- SEE ALSO
- Ash Manual
-
-
-
-
-
-
-
-
-
-
- Page 1 (printed 4/28/89)
-
-
-
-