summaryrefslogtreecommitdiffstats
path: root/text-utils/col.1
diff options
context:
space:
mode:
authorSami Kerola2011-05-24 22:56:36 +0200
committerKarel Zak2011-06-01 09:07:58 +0200
commit0d196114b4332e4281533d1df0f8791d445cb9dd (patch)
tree4d1316106b7fd9696016b30c1ea08f4ea2579b44 /text-utils/col.1
parentcol: use long options (diff)
downloadkernel-qcow2-util-linux-0d196114b4332e4281533d1df0f8791d445cb9dd.tar.gz
kernel-qcow2-util-linux-0d196114b4332e4281533d1df0f8791d445cb9dd.tar.xz
kernel-qcow2-util-linux-0d196114b4332e4281533d1df0f8791d445cb9dd.zip
docs: col manual update
Long options, with help & version, added. The commint also has previously undocumented switch `-h convert spaces to tabs' as a part of col.1 man page. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'text-utils/col.1')
-rw-r--r--text-utils/col.118
1 files changed, 12 insertions, 6 deletions
diff --git a/text-utils/col.1 b/text-utils/col.1
index 0e6e13303..fab02d65a 100644
--- a/text-utils/col.1
+++ b/text-utils/col.1
@@ -42,7 +42,7 @@
.Nd filter reverse line feeds from input
.Sh SYNOPSIS
.Nm col
-.Op Fl bfpx
+.Op Fl bfphx
.Op Fl l Ar num
.Sh DESCRIPTION
.Nm Col
@@ -59,26 +59,32 @@ reads from standard input and writes to standard output.
.Pp
The options are as follows:
.Bl -tag -width "-lnum"
-.It Fl b
+.It Fl b, Fl Fl no-backspaces
Do not output any backspaces, printing only the last character
written to each column position.
-.It Fl f
+.It Fl f, Fl Fl fine
Forward half line feeds are permitted (``fine'' mode).
Normally characters printed on a half line boundary are printed
on the following line.
-.It Fl p
+.It Fl p, Fl Fl pass
Force unknown control sequences to be passed through unchanged.
Normally,
.Nm col
will filter out any control sequences from the input other than those
recognized and interpreted by itself, which are listed below.
-.It Fl x
+.It Fl h, Fl Fl tabs
+Output tabs instead of multiple spaces.
+.It Fl x, Fl Fl spaces
Output multiple spaces instead of tabs.
-.It Fl l Ns Ar num
+.It Fl l, Fl Fl lines Ar num
Buffer at least
.Ar num
lines in memory.
By default, 128 lines are buffered.
+.It Fl V, Fl Fl version
+Output version information and exit.
+.It Fl H, Fl Fl help
+Output help and exit.
.El
.Pp
The control sequences for carriage motion that