CSORT(1) BSD General Commands Manual CSORT(1)NAMEcsort — sort lines of text files in the C locale
SYNOPSIScsort [options...] [files...]
DESCRIPTION
The csort utility is merely a shorthand for “env LC_COLLATE=C sort” to
sort lines of text from standard input or from a set of files using the
sort and collation rules specified by the “C” POSIX locale. It passes
all command-line arguments to sort(1).
RETURN VALUES
See sort(1).
ENVIRONMENT
See sort(1).
FILES
See sort(1).
EXAMPLES
Sort the output of ls(1) by size:
ls -l | csort-k5,5n
Sort a set of files in reverse:
csort-r *.txt
SEE ALSOsort(1)HISTORY
The csort utility was written by Peter Pentchev in 2013.
AUTHORS
Peter Penchev ⟨roam@ringlet.net⟩
BSD October 12, 2013 BSD