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