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