1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.012.
2 .TH SORT "1" "August 1999" "GNU textutils 2.0" FSF
4 sort \- sort lines of text files
7 [\fIOPTION\fR]... [\fIFILE\fR]...
10 .\" Add any additional description here
12 Write sorted concatenation of all FILE(s) to standard output.
15 start a key at POS1, end it *before* POS2 (obsolescent)
17 field numbers and character offsets are numbered
18 starting with zero (contrast with the \fB\-k\fR option)
21 ignore leading blanks in sort fields or keys
24 check if given files already sorted, do not sort
27 consider only [a-zA-Z0-9 ] characters in keys
30 fold lower case to upper case characters in keys
33 compare according to general numerical value, imply \fB\-b\fR
36 consider only [\040-\0176] characters in keys
39 start a key at POS1, end it *at* POS2
41 field numbers and character offsets are numbered
42 starting with one (contrast with zero-based +POS form)
45 merge already sorted files, do not sort
48 compare (unknown) < `JAN' < ... < `DEC', imply \fB\-b\fR
51 compare according to string numerical value, imply \fB\-b\fR
54 write result on FILE instead of standard output
57 reverse the result of comparisons
60 stabilize sort by disabling last resort comparison
63 use SEParator instead of non- to whitespace transition
66 use DIRECTORY for temporary files, not $TMPDIR or /tmp
69 with \fB\-c\fR, check for strict ordering;
70 with \fB\-m\fR, only output the first of an equal sequence
73 end lines with 0 byte, not newline, for find \fB\-print0\fR
76 display this help and exit
79 output version information and exit
81 POS is F[.C][OPTS], where F is the field number and C the character position
82 in the field, both counted from one with \fB\-k\fR, from zero with the obsolescent
83 form. OPTS is made up of one or more of Mbdfinr; this effectively disables
84 global \fB\-Mbdfinr\fR settings for that key. If no key is given, use the entire
85 line as the key. With no FILE, or when FILE is -, read standard input.
87 Report bugs to <bug-textutils@gnu.org>.
89 The full documentation for
91 is maintained as a Texinfo manual. If the
95 programs are properly installed at your site, the command
99 should give you access to the complete manual.
101 Copyright \(co 1999 Free Software Foundation, Inc.
103 This is free software; see the source for copying conditions. There is NO
104 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.