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