Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
sort(1)
Edit
PageHistory
Diff
Info
LikePages
SORT !!!SORT NAME SYNOPSIS DESCRIPTION AUTHOR REPORTING BUGS COPYRIGHT SEE ALSO ---- !!NAME sort - sort lines of text files !!SYNOPSIS __sort__ [[''OPTION'']... [[''FILE'']... !!DESCRIPTION Write sorted concatenation of all FILE(s) to standard output. +POS1 [[-POS2] start a key at POS1, end it *before* POS2 (obsolescent) field numbers and character offsets are numbered starting with zero (contrast with the __-k__ option) __-b__ ignore leading blanks in sort fields or keys __-c__ check if given files already sorted, do not sort __-d__ consider only [[a-zA-Z0-9 ] characters in keys __-f__ fold lower case to upper case characters in keys __-g__ compare according to general numerical value, imply __-b__ __-i__ consider only [[040-0176] characters in keys __-k__ POS1[[,POS2] start a key at POS1, end it *at* POS2 field numbers and character offsets are numbered starting with one (contrast with zero-based +POS form) __-m__ merge already sorted files, do not sort __-M__ compare (unknown) -b__ __-n__ compare according to string numerical value, imply __-b__ __-o__ FILE write result on FILE instead of standard output __-r__ reverse the result of comparisons __-s__ stabilize sort by disabling last resort comparison __-t__ SEP use SEParator instead of non- to whitespace transition __-T__ DIRECTORY use DIRECTORY for temporary files, not $TMPDIR or /tmp __-u__ with __-c__: check for strict ordering otherwise: output only the first of an equal run __-z__ end lines with 0 byte, not newline, for find __-print0__ __--help__ display this help and exit __--version__ output version information and exit POS is F[[.C][[OPTS], where F is the field number and C the character position in the field, both counted from one with __-k__, from zero with the obsolescent form. OPTS is made up of one or more of Mbdfinr; this effectively disables global __-Mbdfinr__ settings for that key. If no key is given, use the entire line as the key. With no FILE, or when FILE is -, read standard input. !!AUTHOR Written by Mike Haertel. !!REPORTING BUGS Report bugs to !!COPYRIGHT Copyright 1999 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. !!SEE ALSO The full documentation for __sort__ is maintained as a Texinfo manual. If the __info__ and __sort__ programs are properly installed at your site, the command __info sort__ should give you access to the complete manual. ----
20 pages link to
sort(1)
:
ispell(5)
buildhash(1)
column(1)
zipinfo(1)
guitar(1)
environ(7)
findaffix(1)
icombine(1)
ijoin(1)
ispell(1)
look(1)
munchlist(1)
ps(1)
sq(1)
tryaffix(1)
unsq(1)
EnvironmentVariable
qsort(3)
TextUtilities
Man1s
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.