BSD 4_4 development
[unix-history] / usr / share / man / cat1 / column.0
CommitLineData
98473598
C
1COLUMN(1) BSD Reference Manual COLUMN(1)
2
3N\bNA\bAM\bME\bE
4 c\bco\bol\blu\bum\bmn\bn - columnate lists
5
6S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
7 c\bco\bol\blu\bum\bmn\bn [-\b-t\btx\bx] [-\b-c\bc _\bc_\bo_\bl_\bu_\bm_\bn_\bs] [-\b-s\bs _\bs_\be_\bp] [_\bf_\bi_\bl_\be _\b._\b._\b.]
8
9D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
10 The c\bco\bol\blu\bum\bmn\bn utility formats its input into multiple columns. Rows are
11 filled before columns. Input is taken from _\bf_\bi_\bl_\be operands, or, by de-
12 fault, from the standard input. Empty lines are ignored.
13
14 The options are as follows:
15
16 -\b-c\bc Output is formatted for a display _\bc_\bo_\bl_\bu_\bm_\bn_\bs wide.
17
18 -\b-s\bs Specify a set of characters to be used to delimit columns for the
19 -\b-t\bt option.
20
21 -\b-t\bt Determine the number of columns the input contains and create a
22 table. Columns are delimited with whitespace, by default, or
23 with the characters supplied using the -\b-s\bs option. Useful for
24 pretty-printing displays.
25
26 -\b-x\bx Fill columns before filling rows.
27
28 C\bCo\bol\blu\bum\bmn\bn exits 0 on success, >0 if an error occurred.
29
30E\bEN\bNV\bVI\bIR\bRO\bON\bNM\bME\bEN\bNT\bT
31 COLUMNS The environment variable COLUMNS is used to determine the size
32 of the screen if no other information is available.
33
34E\bEX\bXA\bAM\bMP\bPL\bLE\bES\bS
35 (printf "PERM LINKS OWNER SIZE MONTH DAY HH:MM/YEAR NAME\n" ; \
36 ls -l | sed 1d) | column -t
37
38S\bSE\bEE\bE A\bAL\bLS\bSO\bO
39 colrm(1), ls(1), paste(1), sort(1)
40
41H\bHI\bIS\bST\bTO\bOR\bRY\bY
42 The c\bco\bol\blu\bum\bmn\bn command appeared in 4.3BSD-Reno.
43
444.4BSD June 6, 1993 1