1 | <sect2>
|
---|
2 | <title>Contents</title>
|
---|
3 |
|
---|
4 | <para>The Textutils package contains the cat, cksum, comm, csplit, cut, expand,
|
---|
5 | fmt, fold, head, join, md5sum, nl, od, paste, pr, ptx, sort, split, sum,
|
---|
6 | tac, tail, tr, tsort, unexpand, uniq and wc programs.</para>
|
---|
7 |
|
---|
8 | </sect2>
|
---|
9 |
|
---|
10 | <sect2>
|
---|
11 | <title>Description</title>
|
---|
12 |
|
---|
13 | <sect3><title>cat</title>
|
---|
14 | <para>cat concatenates file(s) or standard input to
|
---|
15 | standard output.</para></sect3>
|
---|
16 |
|
---|
17 | <sect3><title>cksum</title>
|
---|
18 | <para>cksum prints CRC checksum and byte counts of each specified
|
---|
19 | file.</para></sect3>
|
---|
20 |
|
---|
21 | <sect3><title>comm</title>
|
---|
22 | <para>comm compares two sorted files line by line.</para></sect3>
|
---|
23 |
|
---|
24 | <sect3><title>csplit</title>
|
---|
25 | <para>csplit outputs pieces of a file separated by (a) pattern(s) to files
|
---|
26 | xx01, xx02, ..., and outputs byte counts of each piece to standard
|
---|
27 | output.</para></sect3>
|
---|
28 |
|
---|
29 | <sect3><title>cut</title>
|
---|
30 | <para>cut prints selected parts of lines from specified files to standard
|
---|
31 | output.</para></sect3>
|
---|
32 |
|
---|
33 | <sect3><title>expand</title>
|
---|
34 | <para>expand converts tabs in files to spaces, writing to standard
|
---|
35 | output.</para></sect3>
|
---|
36 |
|
---|
37 | <sect3><title>fmt</title>
|
---|
38 | <para>fmt reformats each paragraph in the specified file(s), writing to
|
---|
39 | standard output.</para></sect3>
|
---|
40 |
|
---|
41 | <sect3><title>fold</title>
|
---|
42 | <para>fold wraps input lines in each specified file (standard input by default),
|
---|
43 | writing to standard output.</para></sect3>
|
---|
44 |
|
---|
45 | <sect3><title>head</title>
|
---|
46 | <para>Print first xx (10 by default) lines of each specified file to standard
|
---|
47 | output.</para></sect3>
|
---|
48 |
|
---|
49 | <sect3><title>join</title>
|
---|
50 | <para>join joins lines of two files on a common field.</para></sect3>
|
---|
51 |
|
---|
52 | <sect3><title>md5sum</title>
|
---|
53 | <para>md5sum prints or checks MD5 checksums.</para></sect3>
|
---|
54 |
|
---|
55 | <sect3><title>nl</title>
|
---|
56 | <para>nl writes each specified file to standard output, with line numbers
|
---|
57 | added.</para></sect3>
|
---|
58 |
|
---|
59 | <sect3><title>od</title>
|
---|
60 | <para>od writes an unambiguous representation, octal bytes by default, of a
|
---|
61 | specified file to standard output.</para></sect3>
|
---|
62 |
|
---|
63 | <sect3><title>paste</title>
|
---|
64 | <para>paste writes lines consisting of the sequentially corresponding
|
---|
65 | lines from each specified file, separated by TABs,
|
---|
66 | to standard output.</para></sect3>
|
---|
67 |
|
---|
68 | <sect3><title>pr</title>
|
---|
69 | <para>pr paginates or columnates files for printing.</para></sect3>
|
---|
70 |
|
---|
71 | <sect3><title>ptx</title>
|
---|
72 | <para>ptx produces a permuted index of file contents.</para></sect3>
|
---|
73 |
|
---|
74 | <sect3><title>sort</title>
|
---|
75 | <para>sort writes sorted concatenation of files to standard
|
---|
76 | output.</para></sect3>
|
---|
77 |
|
---|
78 | <sect3><title>split</title>
|
---|
79 | <para>split outputs fixed-size pieces of an input file to
|
---|
80 | PREFIXaa, PREFIXab, ...</para></sect3>
|
---|
81 |
|
---|
82 | <sect3><title>sum</title>
|
---|
83 | <para>sum prints checksum and block counts for each specified
|
---|
84 | file.</para></sect3>
|
---|
85 |
|
---|
86 | <sect3><title>tac</title>
|
---|
87 | <para>tac writes each specified file to standard output, last line
|
---|
88 | first.</para></sect3>
|
---|
89 |
|
---|
90 | <sect3><title>tail</title>
|
---|
91 | <para>tail print the last xx (10 by default) lines of each specified file to
|
---|
92 | standard output.</para></sect3>
|
---|
93 |
|
---|
94 | <sect3><title>tr</title>
|
---|
95 | <para>tr translates, squeezes, and/or deletes characters from standard
|
---|
96 | input, writing to standard output.</para></sect3>
|
---|
97 |
|
---|
98 | <sect3><title>tsort</title>
|
---|
99 | <para>tsort writes totally ordered lists consistent with the partial ordering
|
---|
100 | in specified files.</para></sect3>
|
---|
101 |
|
---|
102 | <sect3><title>unexpand</title>
|
---|
103 | <para>unexpand converts spaces in each file to tabs, writing to standard
|
---|
104 | output.</para></sect3>
|
---|
105 |
|
---|
106 | <sect3><title>uniq</title>
|
---|
107 | <para>Uniq removes duplicate lines from a sorted file.</para></sect3>
|
---|
108 |
|
---|
109 | <sect3><title>wc</title>
|
---|
110 | <para>wc prints line, word, and byte counts for each specified file, and a
|
---|
111 | total line if more than one file is specified.</para></sect3>
|
---|
112 |
|
---|
113 | </sect2>
|
---|