Colrm

来自 ChinaUnix Wiki

Linux命令:colrm

功能说明:滤掉指定的行。
语  法:colrm [开始行数编号<结束行数编号>]
补充说明:colrm指令从标准输入设备读取书记,转而输出到标准输出设备。如果不加任何参数,则该指令不会过滤任何一行。


英文版本,欢迎翻译:

NAME colrm - remove columns from a file

SYNOPSIS colrm [startcol [endcol]]

DESCRIPTION Colrm removes selected columns from a file. Input is taken from standard input. Output is sent to standard output.

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.

Column numbering starts with column 1.

SEE ALSO awk(1), column(1), expand(1), paste(1)

HISTORY The colrm command appeared in 3.0BSD.

个主工具