August 1999
Intermediate to advanced
1000 pages
83h 9m
English
/usr/bin/expand [-t tablist] [file...] /usr/bin/expand [-tabstop] [-tab1,tab2,...,tabn] [file...] /usr/bin/unexpand [-a] [-t tablist] [file...]
expand copies files (or the standard input) to the standard output, with Tab characters expanded to space characters. Backspace characters are preserved in the output and decrement the column count for Tab calculations. expand is useful for preprocessing character files (before sorting, looking at specific columns, and so forth) that contain Tab characters.
unexpand copies files (or the standard input) to the standard output, putting Tab characters back into the data. By default, only leading space and ...
Read now
Unlock full access