source: appendixa/textutils-desc.xml@ 094f9e1

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 094f9e1 was b08f409, checked in by Gerard Beekmans <gerard@…>, 23 years ago

Initial XML commit

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

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