col(1)
_________________________________________________________________
col Command
filter reverse line-feeds
_________________________________________________________________
SYNTAX
col [ -bfpx ]
DESCRIPTION
Col reads from the standard input and writes onto the standard
output. It performs the line overlays implied by reverse line
feeds (ASCII code ESC-7), and by forward and reverse half-line
feeds (ESC-9 and ESC-8). Col is particularly useful for
filtering multicolumn output made with the .rt command of nroff
and output resulting from the tbl(1) preprocessor.
Options are:
-b No backspacing. If two or more characters are to appear
in the same place, only the last one read will be output.
-f Fine-adjust half-line motions. Although col accepts
half-line forward motions in its input, it outputs them
as full-line motions unless you specify -f. Reverse
half-line motions (and all other reverse line motions)
are still ignored.
-x Do not convert white space to tabs on output. Normally
col converts blank areas to tab sequences.
-p Output escape sequences as regular characters. Without
this option, col will ignore any unknown escape sequences
found in its input. Don't use this option unless you know
the textual position of the escape sequences.
Col assumes that the ASCII control characters SO (\016) and SI
(\017) start and end text in an alternate character set. The
character set to which each input character belongs is
remembered, and on output SI and SO characters are generated to
ensure that each character is printed in the correct set.
On input, the only control characters accepted are space,
backspace, tab, return, new-line, SI, SO, VT (\013), and ESC
followed by 7, 8, or 9. The VT character is an alternate form of
full reverse line-feed, included for compatibility with some
earlier programs of this type. All other non-printing characters
are ignored.
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)
col(1)
SEE ALSO
nroff(1), tbl(1) in the Document Formatting Guide for the MV/UX
and DG/UX Systems
NOTES
The input format accepted by col matches the output produced by
nroff with the -Tlp option. The -T37 switch is not implemented
in DG/UX.
BUGS
Col cannot back up more than 128 lines.
It allows at most 800 characters, including backspaces, on a
line.
Local vertical motions that would result in backing up over the
first line of the document are ignored. As a result, the first
line must not have any superscripts.
DG/UX 4.00 Page 2
Licensed material--property of copyright holder(s)