source: appendixa/textutils-desc.xml@ 95110e8

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk v3_0 v3_1 v3_2 v3_3 v4_0 v4_1 v5_0 v5_1 v5_1_1 xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 95110e8 was b822811, checked in by Mark Hymers <markh@…>, 23 years ago

XML changes

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@827 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 3.6 KB
RevLine 
[6370fa6]1<sect2>
2<title>Contents</title>
3
[b822811]4<para>The Textutils package contains the cat, cksum, comm, split, cut, expand,
[6370fa6]5fmt, fold, head, join, md5sum, nl, od, paste, pr, ptx, sort, split, sum,
[b822811]6tac, tail, tr, tsort, unexpand, uniq and wc programs.</para>
[6370fa6]7
8</sect2>
9
10<sect2>
11<title>Description</title>
12
13<sect3>
14<title>cat</title>
15
[b822811]16<para>cat concatenates file(s) or standard input to standard output.</para>
[6370fa6]17
18</sect3>
19
20<sect3>
21<title>cksum</title>
22
[b822811]23<para>cksum prints CRC checksum and byte counts of each specified file.</para>
[6370fa6]24
25</sect3>
26
27<sect3>
28<title>comm</title>
29
[b822811]30<para>comm compares two sorted files line by line.</para>
[6370fa6]31
32</sect3>
33
34<sect3>
35<title>csplit</title>
36
[b822811]37<para>cplit outputs pieces of a file separated by (a) pattern(s) to files
38xx01, xx02, ..., and outputs byte counts of each piece to standard
39output.</para>
[6370fa6]40
41</sect3>
42
43<sect3>
44<title>cut</title>
45
[b822811]46<para>cut prints selected parts of lines from specified files to standard
47output.</para>
[6370fa6]48
49</sect3>
50
51<sect3>
52<title>expand</title>
53
[b822811]54<para>expand converts tabs in files to spaces, writing to standard
55output.</para>
[6370fa6]56
57</sect3>
58
59<sect3>
60<title>fmt</title>
61
[b822811]62<para>fmt reformats each paragraph in the specified file(s), writing to
63standard output.</para>
[6370fa6]64
65</sect3>
66
67<sect3>
68<title>fold</title>
69
[b822811]70<para>fold wraps input lines in each specified file (standard input by default),
71writing to standard output.</para>
[6370fa6]72
73</sect3>
74
75<sect3>
76<title>head</title>
77
[b822811]78<para>Print first xx (10 by default) lines of each specified file to standard
79output.</para>
[6370fa6]80
81</sect3>
82
83<sect3>
84<title>join</title>
85
[b822811]86<para>join joins lines of two files on a common field.</para>
[6370fa6]87
88</sect3>
89
90<sect3>
91<title>md5sum</title>
92
[b822811]93<para>md5sum prints or checks MD5 checksums.</para>
[6370fa6]94
95</sect3>
96
97<sect3>
98<title>nl</title>
99
[b822811]100<para>nl writes each specified file to standard output, with line numbers
101added.</para>
[6370fa6]102
103</sect3>
104
105<sect3>
106<title>od</title>
107
[b822811]108<para>od writes an unambiguous representation, octal bytes by default, of a
109specified file to standard output.</para>
[6370fa6]110
111</sect3>
112
113<sect3>
114<title>paste</title>
115
[b822811]116<para>paste writes lines consisting of the sequentially corresponding
117lines from each specified file, separated by TABs, to standard output.</para>
[6370fa6]118
119</sect3>
120
121<sect3>
122<title>pr</title>
123
[b822811]124<para>pr paginates or columnates files for printing.</para>
[6370fa6]125
126</sect3>
127
128<sect3>
129<title>ptx</title>
130
[b822811]131<para>ptx produces a permuted index of file contents.</para>
[6370fa6]132
133</sect3>
134
135<sect3>
136<title>sort</title>
137
[b822811]138<para>sort writes sorted concatenation of files to standard output.</para>
[6370fa6]139
140</sect3>
141
142<sect3>
143<title>split</title>
144
[b822811]145<para>split outputs fixed-size pieces of an input file to
146PREFIXaa, PREFIXab, ...</para>
[6370fa6]147
148</sect3>
149
150<sect3>
151<title>sum</title>
152
[b822811]153<para>sum prints checksum and block counts for each specified file.</para>
[6370fa6]154
155</sect3>
156
157<sect3>
158<title>tac</title>
159
[b822811]160<para>tac writes each specified file to standard output, last line first.</para>
[6370fa6]161
162</sect3>
163
164<sect3>
165<title>tail</title>
166
[b822811]167<para>tail print the last xx (10 by default) lines of each specified file to
168standard output.</para>
[6370fa6]169
170</sect3>
171
172<sect3>
173<title>tr</title>
174
[b822811]175<para>tr translates, squeezes, and/or deletes characters from standard
176input, writing to standard output.</para>
[6370fa6]177
178</sect3>
179
180<sect3>
181<title>tsort</title>
182
[b822811]183<para>tsort writes totally ordered lists consistent with the partial ordering
184in specified files.</para>
[6370fa6]185
186</sect3>
187
188<sect3>
189<title>unexpand</title>
190
[b822811]191<para>unexpand converts spaces in each file to tabs, writing to standard
192output.</para>
[6370fa6]193
194</sect3>
195
196<sect3>
197<title>uniq</title>
198
[b822811]199<para>Uniq removes duplicate lines from a sorted file.</para>
[6370fa6]200
201</sect3>
202
203<sect3>
204<title>wc</title>
205
[b822811]206<para>wc prints line, word, and byte counts for each specified file, and a
207total line if more than one file is specified.</para>
[6370fa6]208
209</sect3>
210
211</sect2>
212
Note: See TracBrowser for help on using the repository browser.