summaryrefslogtreecommitdiff
path: root/man/1/lc
blob: 005e69684550ab7019f6aab7414bc796a32bada7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
.TH LC 1
.SH NAME
lc \- list files in columns
.SH SYNOPSIS
.B lc
[
.B -df
] [
.B -c
.I columns
] [
.IR file ...
]
.SH DESCRIPTION
.I Lc
lists in columns the contents of each
.I file
that is a directory. If there is more than
.I file
and neither the
.B -d
or 
.B -f
options are given, then the output for each
directory will be indented, and preceded by the
directory's name. After the listings for each directory,
the rest of the
.IR file s
are listed. If either the
.B -d
or
.B -f
options are given, directory headings are omitted and
each file is shown in full (with its containing directory);
.B -d
causes directories to be listed;
.B -f
causes files to be listed.
.I Columns
is an integer specifying the number of character widths
into which
.IR lc 's
output is formatted (default 65).
.SH SOURCE
.B /appl/cmd/lc.b
.SH SEE ALSO
.IR ls (1),
.IR readdir (2)
.SH BUGS
.I Lc
assumes a fixed-width font.