xref: /386bsd/usr/share/man/cat1/column.0 (revision a2142627)
1COLUMN(1)                   386BSD Reference Manual                  COLUMN(1)
2
3NNAAMMEE
4     ccoolluummnn - columnate lists
5
6SSYYNNOOPPSSIISS
7     ccoolluummnn [--cc_c_o_l_u_m_n_s] [--ss_s_e_p] [--ttxx] [_f_i_l_e ...]
8
9DDEESSCCRRIIPPTTIIOONN
10     The ccoolluummnn utility formats its input into multiple columns.  Rows are
11     filled before columns.  Input is taken from _f_i_l_e operands, or, by
12     default, from the standard input.  Empty lines are ignored.
13
14     The options are as follows:
15
16     --cc      Output is formatted for a display _c_o_l_u_m_n_s wide.
17
18     --ss      Specify a set of characters to be used to delimit columns for the
19             --tt option.
20
21     --tt      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 --ss option.  Useful for
24             pretty-printing displays.
25
26     --xx      Fill columns before filling rows.
27
28     CCoolluummnn exits 0 on success, >0 if an error occurred.
29
30EENNVVIIRROONNMMEENNTT
31     COLUMNS  The environment variable COLUMNS is used to determine the size
32              of the screen if no other information is available.
33
34EEXXAAMMPPLLEESS
35           (printf "PERM LINKS OWNER SIZE MONTH DAY HH:MM/YEAR NAME\n" ;
36           ls -l | sed 1d) | column -t
37
38SSEEEE AALLSSOO
39     colrm(1),  ls(1),  paste(1),  sort(1)
40
41HHIISSTTOORRYY
42     The ccoolluummnn command appeared in 4.3BSD-Reno.
43
44BSD Experimental                March 14, 1991                               1
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67