sort

Name

sort -- sort, merge or sequence check text files

Description

sort is as specified in the SUS but with differences as listed below.

Differences

-z

has implementation-dependent behavior. (Rationale: the SUSv2 -z option is supported in neither the SUSv3 nor existing Linux implementations).

LSB Deprecated Differences

The behaviors specified in this section are expected to disappear from a future version of the LSB; applications should only use the non-LSB-deprecated behaviors.

-g

compares according to general numerical value, implies -b.

-M

compares (unknown) < JAN < ... < DEC, imply -b.

-s

stabilizes sort by disabling last resort comparison.

-T DIRECTORY

uses DIRECTORY for temporary files, not $TMPDIR or /tmp.

--version

outputs version information and exits.