summaryrefslogtreecommitdiff
path: root/man/1/lc
diff options
context:
space:
mode:
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.