column
- columnate lists
1. column.1.man
Manpage of COLUMN
COLUMN
Section: User Commands (1)Updated: Local
Index Return to Main Contents
NAME
column - columnate listsSYNOPSIS
column [options] file...DESCRIPTION
The column utility formats its input into multiple columns. Rows are filled before columns. Input is taken from file or, by default, from the standard input. Empty lines are ignored.OPTIONS
- -c, --columns width
- Output is formatted to a width specified as number of characters.
- -t, --table
- 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 separator. Table output is useful for pretty-printing.
- -s, --separator separator
- Specify table separator (default is whitespace).
- -x, --fillrows
- Fill columns before filling rows.
- -h, --help
- Print help and exit.
ENVIRONMENT
The environment variable COLUMNS is used to determine the size of the screen if no other information is available.EXAMPLES
sed 's/#.*//' /etc/fstab | column -t
SEE ALSO
colrm(1), ls(1), paste(1), sort(1)HISTORY
The column command appeared in 4.3BSD-Reno.AVAILABILITY
The column command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
Index
This document was created by man2html using the manual pages.
Time: 17:30:45 GMT, May 11, 2012
