sort

Name

sort -- sort, merge or sequence check text files

Description

sort is as specified in the Single UNIX Specification but with differences as listed below.

Differences

-z

has unspecified behavior.[1]

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.

Notes

[1]

Rationale: the -z option found in the Single UNIX Specification, Version 2 is supported in neither the Single UNIX Specification, Version 3 nor existing Linux implementations.