Commit | Line | Data |
---|---|---|
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 | .\" |
b5dc1377 | 6 | .\" @(#)colrm.1 6.4 (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 | |
16 | .Cx [ startcol | |
17 | .Op endcol | |
18 | .Cx ] | |
19 | .Cx | |
20 | .Sh DESCRIPTION | |
21 | .Nm Colrm | |
5661f4ba | 22 | removes selected columns from a file. Input is taken from standard input. |
05c81844 | 23 | Output is sent to standard output. |
b5dc1377 | 24 | .Pp |
05c81844 KM |
25 | If called with one parameter the columns |
26 | of each line will be removed starting with the specified column. | |
27 | If called with two parameters the columns from the first column | |
28 | to the last column will be removed. | |
b5dc1377 | 29 | .Pp |
05c81844 | 30 | Column numbering starts with column 1. |
b5dc1377 CL |
31 | .Sh SEE ALSO |
32 | .Xr awk 1 , | |
33 | .Xr column 1 , | |
34 | .Xr expand 1 , | |
35 | .Xr paste 1 | |
36 | .Sh HISTORY | |
37 | Appeared in 3 BSD. |