The Fidelix Linux Distribution

Simple, Stable, and Secure

SORT(1) User Commands SORT(1)

sort - manual page for sort 1.31.1

sort [-nrugMcszbdfiokt] [-o FILE] [-k start[.offset][opts][,end[.offset][opts]] [-t CHAR] [FILE]...

BusyBox v1.31.1 (2020-04-30 13:38:01 EDT) multi-call binary.

Sort lines of text

-o FILE Output to FILE

-c
Check whether input is sorted
-b
Ignore leading blanks
-f
Ignore case
-i
Ignore unprintable characters
-d
Dictionary order (blank or alphanumeric only)
-n
Sort numbers
-g
General numerical sort
-M
Sort month
-V
Sort version

-t CHAR Field separator

-k N[,M] Sort by Nth field

-r
Reverse sort order
-s
Stable (don't sort ties alphabetically)
-u
Suppress duplicate lines
-z
Lines are terminated by NUL, not newline
April 2020 Fidelix 1.0