DragonFly On-Line Manual Pages

Search: Section:  


CSORT(1)               DragonFly General Commands Manual              CSORT(1)

NAME

csort - sort lines of text files in the C locale

SYNOPSIS

csort [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 ALSO

sort(1)

HISTORY

The csort utility was written by Peter Pentchev in 2013.

AUTHORS

Peter Penchev <roam@ringlet.net> DragonFly 6.5-DEVELOPMENT October 12, 2013 DragonFly 6.5-DEVELOPMENT

Search: Section: