]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - text-utils/colrm.1
wipefs: add --lock and LOCK_BLOCK_DEVICE
[thirdparty/util-linux.git] / text-utils / colrm.1
index 1f3d4b04d842521e49181478436d00b3a2516536..979137f7169787cac82951634a140dba7a1f8c63 100644 (file)
 .\"
 .\"     @(#)colrm.1    6.6 (Berkeley) 3/14/91
 .\"
-.Dd March 14, 1991
-.Dt COLRM 1
-.Os BSD 3
-.Sh NAME
-.Nm colrm
-.Nd remove columns from a file
-.Sh SYNOPSIS
-.Nm colrm
-.Op Ar startcol Op Ar endcol
-.Sh DESCRIPTION
-.Nm Colrm
+.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.
-.Sh SEE ALSO
-.Xr awk 1 ,
-.Xr column 1 ,
-.Xr expand 1 ,
-.Xr paste 1
-.Sh HISTORY
+.SH OPTIONS
+.TP
+\fB\-V\fR, \fB\-\-version\fR
+Display version information and exit.
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+Display help text and exit.
+.SH HISTORY
 The
-.Nm
-command appeared in 
-.Bx 3.0 .
-.Sh AVAILABILITY
+.B colrm
+command appeared in 3.0BSD.
+.SH SEE ALSO
+.BR awk (1p),
+.BR column (1),
+.BR expand (1),
+.BR paste (1)
+.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 https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
+Linux Kernel Archive
+.UE .