Commit | Line | Data |
---|---|---|
7c2e832f KB |
1 | .\" Copyright (c) 1980 The Regents of the University of California. |
2 | .\" All rights reserved. | |
05c81844 | 3 | .\" |
7c2e832f KB |
4 | .\" Redistribution and use in source and binary forms are permitted |
5 | .\" provided that the above copyright notice and this paragraph are | |
6 | .\" duplicated in all such forms and that any documentation, | |
7 | .\" advertising materials, and other materials related to such | |
8 | .\" distribution and use acknowledge that the software was developed | |
9 | .\" by the University of California, Berkeley. The name of the | |
10 | .\" University may not be used to endorse or promote products derived | |
11 | .\" from this software without specific prior written permission. | |
12 | .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | |
13 | .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | |
14 | .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |
15 | .\" | |
16 | .\" @(#)colrm.1 6.3 (Berkeley) %G% | |
05c81844 | 17 | .\" |
3e55cb05 | 18 | .TH COLRM 1 "" |
05c81844 KM |
19 | .UC 4 |
20 | .SH NAME | |
21 | colrm \- remove columns from a file | |
22 | .SH SYNOPSIS | |
23 | .B colrm | |
24 | [ | |
25 | startcol | |
26 | [ | |
27 | endcol | |
28 | ] | |
29 | ] | |
30 | .SH DESCRIPTION | |
31 | .I Colrm | |
5661f4ba | 32 | removes selected columns from a file. Input is taken from standard input. |
05c81844 KM |
33 | Output is sent to standard output. |
34 | .PP | |
35 | If called with one parameter the columns | |
36 | of each line will be removed starting with the specified column. | |
37 | If called with two parameters the columns from the first column | |
38 | to the last column will be removed. | |
39 | .PP | |
40 | Column numbering starts with column 1. | |
5661f4ba | 41 | .SH "SEE ALSO" |
7c2e832f | 42 | awk(1), column(1), expand(1), paste(1) |