Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
CSORT(1)		     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>

FreeBSD ports 15.quarterly	October 12, 2013			CSORT(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=csort&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help