textutils-desc.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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><title>cat</title>
  10. <para>cat concatenates file(s) or standard input to
  11. standard output.</para></sect3>
  12. <sect3><title>cksum</title>
  13. <para>cksum prints CRC checksum and byte counts of each specified
  14. file.</para></sect3>
  15. <sect3><title>comm</title>
  16. <para>comm compares two sorted files line by line.</para></sect3>
  17. <sect3><title>csplit</title>
  18. <para>csplit outputs pieces of a file separated by (a) pattern(s) to files
  19. xx01, xx02, ..., and outputs byte counts of each piece to standard
  20. output.</para></sect3>
  21. <sect3><title>cut</title>
  22. <para>cut prints selected parts of lines from specified files to standard
  23. output.</para></sect3>
  24. <sect3><title>expand</title>
  25. <para>expand converts tabs in files to spaces, writing to standard
  26. output.</para></sect3>
  27. <sect3><title>fmt</title>
  28. <para>fmt reformats each paragraph in the specified file(s), writing to
  29. standard output.</para></sect3>
  30. <sect3><title>fold</title>
  31. <para>fold wraps input lines in each specified file (standard input by default),
  32. writing to standard output.</para></sect3>
  33. <sect3><title>head</title>
  34. <para>Print first xx (10 by default) lines of each specified file to standard
  35. output.</para></sect3>
  36. <sect3><title>join</title>
  37. <para>join joins lines of two files on a common field.</para></sect3>
  38. <sect3><title>md5sum</title>
  39. <para>md5sum prints or checks MD5 checksums.</para></sect3>
  40. <sect3><title>nl</title>
  41. <para>nl writes each specified file to standard output, with line numbers
  42. added.</para></sect3>
  43. <sect3><title>od</title>
  44. <para>od writes an unambiguous representation, octal bytes by default, of a
  45. specified file to standard output.</para></sect3>
  46. <sect3><title>paste</title>
  47. <para>paste writes lines consisting of the sequentially corresponding
  48. lines from each specified file, separated by TABs,
  49. to standard output.</para></sect3>
  50. <sect3><title>pr</title>
  51. <para>pr paginates or columnates files for printing.</para></sect3>
  52. <sect3><title>ptx</title>
  53. <para>ptx produces a permuted index of file contents.</para></sect3>
  54. <sect3><title>sort</title>
  55. <para>sort writes sorted concatenation of files to standard
  56. output.</para></sect3>
  57. <sect3><title>split</title>
  58. <para>split outputs fixed-size pieces of an input file to
  59. PREFIXaa, PREFIXab, ...</para></sect3>
  60. <sect3><title>sum</title>
  61. <para>sum prints checksum and block counts for each specified
  62. file.</para></sect3>
  63. <sect3><title>tac</title>
  64. <para>tac writes each specified file to standard output, last line
  65. first.</para></sect3>
  66. <sect3><title>tail</title>
  67. <para>tail print the last xx (10 by default) lines of each specified file to
  68. standard output.</para></sect3>
  69. <sect3><title>tr</title>
  70. <para>tr translates, squeezes, and/or deletes characters from standard
  71. input, writing to standard output.</para></sect3>
  72. <sect3><title>tsort</title>
  73. <para>tsort writes totally ordered lists consistent with the partial ordering
  74. in specified files.</para></sect3>
  75. <sect3><title>unexpand</title>
  76. <para>unexpand converts spaces in each file to tabs, writing to standard
  77. output.</para></sect3>
  78. <sect3><title>uniq</title>
  79. <para>Uniq removes duplicate lines from a sorted file.</para></sect3>
  80. <sect3><title>wc</title>
  81. <para>wc prints line, word, and byte counts for each specified file, and a
  82. total line if more than one file is specified.</para></sect3>
  83. </sect2>