++ed by:
PAVELSR MISHIN CHENGANG XYF ILUX

11 PAUSE users
11 non-PAUSE users.

brian d foy

NAME

colrm - remove columns from a file

SYNOPSIS

colrm [startcol [endcol]]

DESCRIPTION

colrm removes the named columns from each line of its standard input (one column = one character). Column numbering starts at 1, not 0.

If a only startcol is provided, removes all columns from startcol rightwards.

If both startcol and endcol are provided, removes all columns from startcol to endcol, inclusive.

If neither is provided, acts just like cat.

If firstcol is greater than lastcol, or the arguments aren't numeric, it pretends it heard no arguments at all, just like the Linux version.

OPTIONS AND ARGUMENTS

startcol

The first column to remove.

endcol

The last column to remove.

AUTHOR

  Jeffrey S. Haemer

BUGS

Lacks the special-case handling of backspace and tab added in some other versions. Acts, instead, like the simpler Linux and SunOS versions.

SEE ALSO

  awk(1)