Commit | Line | Data |
---|---|---|
b2cd844e C |
1 | COLUMN(1) UNIX Reference Manual COLUMN(1) |
2 | ||
3 | N\bNA\bAM\bME\bE | |
4 | c\bco\bol\blu\bum\bmn\bn - columnate lists | |
5 | ||
6 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS | |
7 | c\bco\bol\blu\bum\bmn\bn [-\b-t\bt_\bx] [-\b-s\bs_\bs_\be_\bp] [-\b-c\bc_\bc_\bo_\bl_\bu_\bm_\bn_\bs] [_\bf_\bi_\bl_\be ...] | |
8 | ||
9 | D\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 by whitespace, by default, or by the | |
23 | characters supplied using the -\b-s\bs option. Useful for pretty- | |
24 | 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 | ||
30 | E\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 | ||
34 | E\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 | ||
38 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO | |
39 | colrm(1), ls(1), paste(1), sort(1) | |
40 | ||
41 | H\bHI\bIS\bST\bTO\bOR\bRY\bY | |
42 | 4.3 Reno BSD. |