|
|
1.1 root 1: Posix P1003.2-compatible sort utility from Unix research v10 system.
2:
3: To build it:
4: make sort
5: To test it:
6: make test
7:
8: sort.1 is manual source; sort.man is the formatted version of it
9:
10: Typical problems:
11: On some systems the ANSI standard functions memmove.c
12: and strtoul.c are slow or absent. Code for these
13: functions is included; use it if you have to
14: (see Makefile).
15:
16: The sorttest suite uses awk as described in the
17: Aho/Kernighan/Weinberger book. Older versions of awk
18: will fail, possibly even dumping core. It tries awk
19: and nawk and gawk before giving up.
20:
21: ANSI header files are assumed, but because headers
22: vary among systems, you may have to do some clever
23: rearrangement of #include directives.
24:
25: Notes on "make fast":
26: Standard IO is used for portability, despite the cost in
27: speed. The make file tries "make fast", and if that fails
28: does "make slow". Make fast uses a private addition
29: to the classic System V stdio, not universally portable.
30: In extreme cases (very long records in nearly sorted
31: order) it can run 40% faster than the "make slow" version.
32:
33: Report troubles to:
34: Doug McIlroy
35: 908 582 6050
36: research!doug
37: [email protected]
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.