Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

colrm (1)

Name

colrm - remove columns from a file

Synopsis

colrm [first [last]]

Description

COLRM(1)                         User Commands                        COLRM(1)



NAME
       colrm - remove columns from a file

SYNOPSIS
       colrm [first [last]]

DESCRIPTION
       colrm  removes selected columns from a file.  Input is taken from stan-
       dard input.  Output is sent to standard output.

       If called with one parameter the columns of each line will  be  removed
       starting  with  the specified first column.  If called with two parame-
       ters the columns from the first column  to  the  last  column  will  be
       removed.

       Column numbering starts with column 1.

OPTIONS
       -V, --version
              Display version information and exit.

       -h, --help
              Display help text and exit.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+---------------------+
       |ATTRIBUTE TYPE |  ATTRIBUTE VALUE    |
       +---------------+---------------------+
       |Availability   | text/text-utilities |
       +---------------+---------------------+
       |Stability      | Uncommitted         |
       +---------------+---------------------+

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

HISTORY
       The colrm command appeared in 3.0BSD.

AVAILABILITY
       The  colrm  command  is part of the util-linux package and is available
       from Linux Kernel  Archive  <ftp://ftp.kernel.org/pub/linux/utils/util-
       linux/>.



NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source        was        downloaded        from        https://www.ker-
       nel.org/pub/linux/utils/util-linux/v2.29/util-linux-2.29.tar.xz.

       Further information about this software can be found on the open source
       community website at https://www.kernel.org/pub/linux/utils/util-linux.



util-linux                      September 2011                        COLRM(1)