Commit | Line | Data |
---|---|---|
028e5044 C |
1 | .NH |
2 | Information Handling | |
3 | .LP | |
4 | .sh SORT | |
5 | Sort or merge ASCII files line-by-line. | |
6 | No limit on input size. | |
7 | .op | |
8 | Sort up or down. | |
9 | .op | |
10 | Sort lexicographically or on numeric key. | |
11 | .op | |
12 | Multiple keys located by delimiters or by character position. | |
13 | .op | |
14 | May sort upper case together with lower into dictionary order. | |
15 | .OP | |
16 | Optionally suppress duplicate data. | |
17 | .sh TSORT | |
18 | Topological sort \(em converts a partial order into a total order. | |
19 | .sh UNIQ | |
20 | Collapse successive duplicate lines | |
21 | in a file into one line. | |
22 | .op | |
23 | Publish lines that were originally unique, | |
24 | duplicated, or both. | |
25 | .op | |
26 | May give redundancy count for each line. | |
27 | .sh TR | |
28 | Do one-to-one character translation according to | |
29 | an arbitrary code. | |
30 | .op | |
31 | May coalesce selected repeated characters. | |
32 | .op | |
33 | May delete selected characters. | |
34 | .sh DIFF | |
35 | Report line changes, additions and deletions necessary to bring two files | |
36 | into agreement. | |
37 | .op | |
38 | May produce an editor script to convert one file into another. | |
39 | .op | |
40 | A variant compares two new versions against one old one. | |
41 | .sh COMM | |
42 | Identify common lines in two sorted files. | |
43 | Output in up to 3 columns shows lines present in first file only, | |
44 | present in both, and/or present in second only. | |
45 | .sh JOIN | |
46 | Combine two files by joining records that have identical keys. | |
47 | .sh GREP | |
48 | Print all lines in a file that satisfy | |
49 | a pattern as used in the editor ED. | |
50 | .op | |
51 | May print all lines that fail to match. | |
52 | .op | |
53 | May print count of hits. | |
54 | .op | |
55 | May print first hit in each file. | |
56 | .sh LOOK | |
57 | Binary search in sorted file for lines | |
58 | with specified prefix. | |
59 | .sh WC | |
60 | Count the lines, ``words'' (blank-separated strings) and characters in a file. | |
61 | .sh SED | |
62 | Stream-oriented version of ED. | |
63 | Can perform a sequence of editing operations on | |
64 | each line of an | |
65 | input stream of unbounded length. | |
66 | .op | |
67 | Lines may be selected by address or range of addresses. | |
68 | .op | |
69 | Control flow and conditional testing. | |
70 | .op | |
71 | Multiple output streams. | |
72 | .op | |
73 | Multi-line capability. | |
74 | .sh AWK | |
75 | Pattern scanning and processing language. | |
76 | Searches input for patterns, and | |
77 | performs actions on each line of input that satisfies | |
78 | the pattern. | |
79 | .op | |
80 | Patterns include regular expressions, | |
81 | arithmetic and lexicographic conditions, | |
82 | boolean combinations and ranges of these. | |
83 | .op | |
84 | Data treated as string or numeric as appropriate. | |
85 | .op | |
86 | Can break input into fields; | |
87 | fields are variables. | |
88 | .op | |
89 | Variables and arrays (with non-numeric subscripts). | |
90 | .op | |
91 | Full set of arithmetic operators and control flow. | |
92 | .op | |
93 | Multiple output streams to files and pipes. | |
94 | .op | |
95 | Output can be formatted as desired. | |
96 | .op | |
97 | Multi-line capabilities. |