Query: column
OS: centos
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
COLUMN(1) User Commands COLUMN(1)NAMEcolumn - columnate listsSYNOPSIScolumn [options] file...DESCRIPTIONThe column utility formats its input into multiple columns. Rows are filled before columns. Input is taken from file or, by default, from 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 separators Specify possible table delimiters (default is whitespace). -o, --output-separator separators Specify table output delimiter (default is two whitespaces). -x, --fillrows Fill columns before filling rows. -h, --help Print help and exit.ENVIRONMENTThe environment variable COLUMNS is used to determine the size of the screen if no other information is available.EXAMPLESsed 's/#.*//' /etc/fstab | column -tBUGSThe util-linux version 2.23 changed -s option to be non-greedy, for example: $ printf "a:b:c 1::3 " | column -t -s ':' old output: a b c 1 3 new output (since util-linux 2.23) a b c 1 3SEE ALSOcolrm(1), ls(1), paste(1), sort(1)HISTORYThe column command appeared in 4.3BSD-Reno.AVAILABILITYThe column command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. util-linux October 2010 COLUMN(1)
Related Man Pages |
---|
lsblk(8) - linux |
lsns(8) - linux |
lsns(8) - freebsd |
lsns(8) - opendarwin |
lsns(8) - x11r4 |
Similar Topics in the Unix Linux Community |
---|
Adding files of numerical data |
Error need help |
FORMAT OF CSV FILE under unix environment. |
Sort command - strange behaviour |
The meaning of %s in printf |