Sort Mode
Sort the input file(s).
Notes
This is still very preliminary
- Define sort buffer allocation size (sortalloc)
- Constant definition
- Segment Source
-
165: /* Initial buffer size for in core sorting. Will not grow unless a
166: line longer than this is seen. */
167: static int sortalloc = 512 * 1024;
168:
- Insert user message text
Segment Element
Text insertion
- 214: Usage: %s [OPTION]... [FILE]...\n\
Segment Element
Text insertion
-
218: Write sorted concatenation of all FILE(s) to standard output.\n\
Segment Element
Text insertion
-
245: for that key. If no key given, use the entire line as key. With no\n\
246: FILE, or when FILE is -, read standard input.\n\
- Option dispatch
- Code insertion
- Segment Source
-
2128: sort (files, nfiles, ofp);