version 1.10, 2007/05/31 19:20:08 |
version 1.11, 2010/10/29 07:58:04 |
|
|
.Os |
.Os |
.Sh NAME |
.Sh NAME |
.Nm col |
.Nm col |
.Nd filter reverse line feeds from input |
.Nd filter reverse line feeds and backspaces from input |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm col |
.Nm col |
.Op Fl bfhx |
.Op Fl bfhx |
|
|
filters out reverse (and half-reverse) line feeds so that the output is |
filters out reverse (and half-reverse) line feeds so that the output is |
in the correct order with only forward and half-forward line |
in the correct order with only forward and half-forward line |
feeds, and replaces whitespace characters with tabs where possible. |
feeds, and replaces whitespace characters with tabs where possible. |
This can be useful in processing the output of |
|
.Xr nroff 1 |
|
and |
|
.Xr tbl 1 . |
|
.Pp |
.Pp |
.Nm |
.Nm |
reads from the standard input and writes to the standard output. |
reads from the standard input and writes to the standard output. |
|
|
.It Fl b |
.It Fl b |
Do not output any backspaces, printing only the last character |
Do not output any backspaces, printing only the last character |
written to each column position. |
written to each column position. |
|
This can be useful in processing the output of |
|
.Xr mandoc 1 . |
.It Fl f |
.It Fl f |
Forward half-line feeds are permitted |
Forward half-line feeds are permitted |
.Pf ( Ns Dq fine |
.Pf ( Ns Dq fine |
|
|
.Nm |
.Nm |
will display a warning message. |
will display a warning message. |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr expand 1 , |
.Xr expand 1 |
.Xr nroff 1 , |
|
.Xr tbl 1 |
|
.Sh HISTORY |
.Sh HISTORY |
A |
A |
.Nm |
.Nm |