Install Textutuils by running the following commands:
root:textutils-2.0# ./configure --prefix=/usr
root:textutils-2.0# make install
root:textutils-2.0# mv /usr/bin/cat /bin
The Textutils package contains the cat, cksum, comm, split, cut, expand, fmt, fold, head, join, md5sum, nl, od, paste, pr, ptx, sort, split, sum, tac, tail, tr, tsort, unexpand, uniq and wc programs.
cat concatenates file(s) or standard input to standard output.
cksum prints CRC checksum and byte counts of each specified file.
comm compares two sorted files line by line.
cplit outputs pieces of a file separated by (a) pattern(s) to files xx01, xx02, ..., and outputs byte counts of each piece to standard output.
cut prints selected parts of lines from specified files to standard output.
expand converts tabs in files to spaces, writing to standard output.
fmt reformats each paragraph in the specified file(s), writing to standard output.
fold wraps input lines in each specified file (standard input by default), writing to standard output.
Print first xx (10 by default) lines of each specified file to standard output.
join joins lines of two files on a common field.
md5sum prints or checks MD5 checksums.
nl writes each specified file to standard output, with line numbers added.
od writes an unambiguous representation, octal bytes by default, of a specified file to standard output.
paste writes lines consisting of the sequentially corresponding lines from each specified file, separated by TABs, to standard output.
pr paginates or columnates files for printing.
ptx produces a permuted index of file contents.
sort writes sorted concatenation of files to standard output.
split outputs fixed-size pieces of an input file to PREFIXaa, PREFIXab, ...
sum prints checksum and block counts for each specified file.
tac writes each specified file to standard output, last line first.
tail print the last xx (10 by default) lines of each specified file to standard output.
tr translates, squeezes, and/or deletes characters from standard input, writing to standard output.
tsort writes totally ordered lists consistent with the partial ordering in specified files.
unexpand converts spaces in each file to tabs, writing to standard output.
uniq discards all but one of successive identical lines from files or standard input and writes to files or standard output.
wc prints line, word, and byte counts for each specified file, and a total line if more than one file is specified.