textutils-desc.xml 3.6 KB

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