stdio.h defines BUFSIZ
[unix-history] / usr / src / usr.bin / colrm / colrm.1
CommitLineData
b5dc1377 1.\" Copyright (c) 1980, 1990 The Regents of the University of California.
7c2e832f 2.\" All rights reserved.
05c81844 3.\"
b5dc1377 4.\" %sccs.include.redist.man%
7c2e832f 5.\"
5325ced3 6.\" @(#)colrm.1 6.5 (Berkeley) %G%
05c81844 7.\"
b5dc1377
CL
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
5325ced3 16.Op Ar startcol Op Ar endcol
b5dc1377
CL
17.Sh DESCRIPTION
18.Nm Colrm
5661f4ba 19removes selected columns from a file. Input is taken from standard input.
05c81844 20Output is sent to standard output.
b5dc1377 21.Pp
05c81844
KM
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.
b5dc1377 26.Pp
05c81844 27Column numbering starts with column 1.
b5dc1377
CL
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.