xref: /original-bsd/usr.bin/colrm/colrm.1 (revision f71c8376)
1.\" Copyright (c) 1980, 1990 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)colrm.1	6.5 (Berkeley) 07/24/90
7.\"
8.Dd
9.Dt COLRM 1
10.Os BSD 3
11.Sh NAME
12.Nm colrm
13.Nd remove columns from a file
14.Sh SYNOPSIS
15.Nm colrm
16.Op Ar startcol Op Ar endcol
17.Sh DESCRIPTION
18.Nm Colrm
19removes selected columns from a file.  Input is taken from standard input.
20Output is sent to standard output.
21.Pp
22If called with one parameter the columns
23of each line will be removed starting with the specified column.
24If called with two parameters the columns from the first column
25to the last column will be removed.
26.Pp
27Column numbering starts with column 1.
28.Sh SEE ALSO
29.Xr awk 1 ,
30.Xr column 1 ,
31.Xr expand 1 ,
32.Xr paste 1
33.Sh HISTORY
34Appeared in 3 BSD.
35