col [-bfpx] [-l num]
Filters out reverse (and half reverse) line feeds so the output is in the correct order with only
forward and half forward line feeds, and
replaces white-space with tabs or with replaces tabs with spaces..
Useful for processing output of nroff and tbl.
|Do not output any backspaces, printing only the last character written to each column position.
|Forward half line feeds are permitted (''fine'' mode). |
Default: characters printed on a half line boundary are printed on the following line.
|Pass unknown control sequences through unchanged. |
Default: col removes control sequences other than those recognized.
|Output multiple spaces instead of tabs.
|Buffer at least num lines in memory. Default, 128 lines are buffered.
The control sequences for carriage motion that
col understands :
| forward line feed ;|
also does carriage return
(i.e. sets to first column)
| reverse line feed || |
| half reverse line feed
reverse line feed
| half forward line feed
| moves forward one column || |
| moves forward to next tab stop
| moves back one column|
(ignored in the first column)
| || || |
| shift to alternate character set
| shift to normal character set
Unrecognized control characters and escape sequences are discarded.
Col keeps track of the character set as characters are read and makes sure the character set is correct
when they are output.
If the input attempts to back up to the last flushed line, col will display a warning message.
expand, nroff, tbl, column