Sorts the lines of the named
files. Compare specified fields for each pair of lines, or, if no fields are specified, compare them by byte, in machine collating sequence. See also
Ignore leading spaces and tabs.
files are already sorted, and if so, produce no output.
Sort in "phone directory" order, ignoring all characters except letters, digits, and blanks.
Fold; ignore uppercase/lowercase differences.
Ignore nonprinting characters (those outside ASCII 32 (space) to 126 (tilde)).
Merge (i.e., sort as a group) input files.
Attempt to treat the first three characters as a month designation (JAN, FEB, etc.). In comparisons, treat JAN < FEB and any valid month as less than an invalid name for a month.
Sort in arithmetic order.
Put output in
Reverse the order of the sort.
Separate fields with
c (default is a tab).
Identical lines in input file appear only one (unique) time in output.
recsz bytes for any one line in the file. This option prevents abnormal termination of sort in certain cases.
n fields before sorting, and sort up to field position
m is missing, sort to end of line. Positions take the form
b, which means character
b of field
a. If .
b is missing, sort at the first character of the field.
Similar to +. Skip
n-1 fields and stop at
m-1 fields (i.e., start sorting at the
nth field, where the fields ...