|
|
1.1 root 1:
2:
3: c Command c
4:
5:
6:
7:
8: Print multi-column output
9:
10: cc [ -_l _N ] [ -w N ] [ -012 ]
11:
12: c reads lines from the standard input and writes them in columns
13: on the standard output. The longest input line and the width of
14: the page determine how many columns will fit across the page.
15:
16: c recognizes the following options:
17:
18: -ll _N Set the length of the page to N lines. c columnizes its
19: output by pages when this option is used with mode 1 or mode
20: 2.
21:
22: -ww _N Set the width of the page to N characters. The default is
23: 80.
24:
25: -00 Multi-column mode 0. Order the fields horizontally across
26: the page.
27:
28: -11 Multi-column mode 1 (default mode). Order the fields verti-
29: cally down each column; the last column may be short.
30:
31: -22 Multi-column mode 2. Order the fields similarly to mode 1,
32: but place blank fields in the last output line rather than
33: the last column.
34:
35: Options may also be given in the environmental variable C,
36: separated by white space. Command line options override options
37: in the environment. For example,
38:
39:
40: export C="-l56 -w72 -2"
41: c -w80 <file1
42:
43:
44: has the same effect as
45:
46:
47: c -l56 -w72 -2 -w80 <file1
48:
49:
50: This command sets the page width to 80 rather than to 72.
51:
52: ***** See Also *****
53:
54: commands, export, pr
55:
56: ***** Diagnostics *****
57:
58: c prints ``out of memory'' and returns an exit status of one if
59: it cannot allocate enough memory to process its input.
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.