Hlavní navigace

column

NAME

SYNOPSIS

DESCRIPTION

The utility formats its input into multiple columns. Rows are filled before columns. Input is taken from operands, or, by default, from the standard input. Empty lines are ignored.
The options are as follows:
  • c Output is formatted for a display wide.
  • s Specify a set of characters to be used to delimit columns for the option.
  • t Determine the number of columns the input contains and create a table. Columns are delimited with whitespace, by default, or with the characters supplied using the option. Useful for pretty-printing displays.
  • x Fill columns before filling rows.
exits 0 on success, >0 if an error occurred.

ENVIRONMENT

  • COLUMNS The environment variable is used to determine the size of the screen if no other information is available.

EXAMPLES

SEE ALSO

colrm(1) ls(1) paste(1) sort(1)

HISTORY

The command appeared in x 4.3 Reno .

AVAILABILITY

The column command is part of the util-linux-ng package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.