summaryrefslogtreecommitdiffstats
path: root/text-utils/colrm.1
diff options
context:
space:
mode:
authorSami Kerola2011-09-18 12:20:54 +0200
committerSami Kerola2011-10-03 20:51:40 +0200
commit960531fff590600abb53a11520cc55672d94e275 (patch)
tree16e9ed209c4233bce4d0b5494196adcbe8d2a644 /text-utils/colrm.1
parentdocs: align colcrt.1 with howto-man-page.txt (diff)
downloadkernel-qcow2-util-linux-960531fff590600abb53a11520cc55672d94e275.tar.gz
kernel-qcow2-util-linux-960531fff590600abb53a11520cc55672d94e275.tar.xz
kernel-qcow2-util-linux-960531fff590600abb53a11520cc55672d94e275.zip
docs: align colrm.1 with howto-man-page.txt
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'text-utils/colrm.1')
-rw-r--r--text-utils/colrm.169
1 files changed, 35 insertions, 34 deletions
diff --git a/text-utils/colrm.1 b/text-utils/colrm.1
index 3bc214da7..03c7f13cf 100644
--- a/text-utils/colrm.1
+++ b/text-utils/colrm.1
@@ -31,44 +31,45 @@
.\"
.\" @(#)colrm.1 6.6 (Berkeley) 3/14/91
.\"
-.Dd May 2011 " "
-.Dt COLRM(1) "" "User Commands"
-.Os util-linux
-.Sh NAME
-.Nm colrm
-.Nd remove columns from a file
-.Sh SYNOPSIS
-.Nm colrm
-.Op Ar startcol Op Ar endcol
-.Sh DESCRIPTION
-.Nm
+.TH COLRM "1" "September 2011" "util-linux" "User Commands"
+.SH NAME
+colrm \- remove columns from a file
+.SH SYNOPSIS
+.B colrm
+.RI [ first \ [ last ]]
+.SH DESCRIPTION
+.B colrm
removes selected columns from a file. Input is taken from standard input.
Output is sent to standard output.
-.Pp
-If called with one parameter the columns
-of each line will be removed starting with the specified column.
-If called with two parameters the columns from the first column
-to the last column will be removed.
-.Pp
+.PP
+If called with one parameter the columns of each line will be removed
+starting with the specified
+.I first
+column. If called with two parameters the columns from the
+.I first
+column to the
+.I last
+column will be removed.
+.PP
Column numbering starts with column 1.
-.Pp
-The options are as follows:
-.Bl -tag -width "-lnum"
-.It Fl V, Fl Fl version
+.SH OPTIONS
+.TP
+\fB\-V\fR, \fB\-\-version\fR
Output version information and exit.
-.It Fl H, Fl Fl help
+.TP
+\fB\-h\fR, \fB\-\-help\fR
Output help and exit.
-.El
-.Sh SEE ALSO
-.Xr awk 1 ,
-.Xr column 1 ,
-.Xr expand 1 ,
-.Xr paste 1
-.Sh HISTORY
+.SH SEE ALSO
+.BR awk (1),
+.BR column (1),
+.BR expand (1),
+.BR paste (1)
+.SH HISTORY
The
-.Nm
-command appeared in
-.Bx 3.0 .
-.Sh AVAILABILITY
+.B colrm
+command appeared in 3.0BSD.
+.SH AVAILABILITY
The colrm command is part of the util-linux package and is available from
-ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
+.UR ftp://\:ftp.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
+Linux Kernel Archive
+.UE .