首页
首页 » 文档编辑 » colrm(column remove)

colrm(column remove)

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

colrm

colrm [start [stop] ]

Remove specified columns from a file, where a column is a single character in a line. Read from standard input and write to standard output. Columns are numbered starting with 1; begin deleting columns at (including) the start column, and stop at (including) the stop column. Entering a tab increments the column count to the next multiple of either the start or stop column; entering a backspace decrements it by 1.

Example

colrm 3 5 < test1 > test2