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

FreeBSD Manual Pages

  
 
  

home | help
CSORT(1)		FreeBSD	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	13.0		       October 12, 2013			  FreeBSD 13.0

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | ENVIRONMENT | FILES | EXAMPLES | SEE ALSO | HISTORY | AUTHORS

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

home | help