summaryrefslogtreecommitdiff
path: root/man/1/lc
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2006-12-22 20:52:35 +0000
committerCharles.Forsyth <devnull@localhost>2006-12-22 20:52:35 +0000
commit46439007cf417cbd9ac8049bb4122c890097a0fa (patch)
tree6fdb25e5f3a2b6d5657eb23b35774b631d4d97e4 /man/1/lc
parent37da2899f40661e3e9631e497da8dc59b971cbd0 (diff)
20060303-partial
Diffstat (limited to 'man/1/lc')
-rw-r--r--man/1/lc51
1 files changed, 51 insertions, 0 deletions
diff --git a/man/1/lc b/man/1/lc
new file mode 100644
index 00000000..005e6968
--- /dev/null
+++ b/man/1/lc
@@ -0,0 +1,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.