summaryrefslogtreecommitdiff
path: root/man/1
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2007-06-01 13:52:15 +0000
committerCharles.Forsyth <devnull@localhost>2007-06-01 13:52:15 +0000
commitdcda8f45eb0a68ca9012c3409b041e6835ac612c (patch)
tree019acb44b99acced97504a95d862aed459ce6bae /man/1
parent309cc03618e34c9a5ddf367fc14e57097285dc8e (diff)
20070601-1449
Diffstat (limited to 'man/1')
-rw-r--r--man/1/INDEX4
-rw-r--r--man/1/lc51
-rw-r--r--man/1/ls25
-rw-r--r--man/1/mathcalc97
4 files changed, 22 insertions, 155 deletions
diff --git a/man/1/INDEX b/man/1/INDEX
index 58815344..3d907507 100644
--- a/man/1/INDEX
+++ b/man/1/INDEX
@@ -25,6 +25,7 @@ unmount bind
blur blur
brutus brutus
cal cal
+calc calc
calendar calendar
cat cat
cd cd
@@ -93,7 +94,6 @@ keyboard keyboard
pen keyboard
broke kill
kill kill
-lc lc
limbo limbo
dial listen
listen listen
@@ -101,6 +101,7 @@ styxlisten listen
logon logon
logwindow logwindow
look look
+lc ls
ls ls
lookman man
man man
@@ -126,7 +127,6 @@ pi math-misc
powers math-misc
primes math-misc
sieve math-misc
-mathcalc mathcalc
mc mc
mdb mdb
miniterm miniterm
diff --git a/man/1/lc b/man/1/lc
deleted file mode 100644
index 005e6968..00000000
--- a/man/1/lc
+++ /dev/null
@@ -1,51 +0,0 @@
-.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.
diff --git a/man/1/ls b/man/1/ls
index 31ea443a..aaba3516 100644
--- a/man/1/ls
+++ b/man/1/ls
@@ -1,6 +1,6 @@
.TH LS 1
.SH NAME
-ls \- list files
+ls, lc \- list files
.SH SYNOPSIS
.B ls
[
@@ -8,8 +8,15 @@ ls \- list files
] [
.IR file ...
]
+.LP
+.B lc
+[
+.B -lpmnqduntscr
+] [
+.IR file ...
+]
.SH DESCRIPTION
-.B Ls
+.I Ls
lists the named
.IR file s
in an order and format determined by its options.
@@ -134,10 +141,18 @@ Sort by size (smallest first).
.TP
.B -r
Reverse the sort order.
+.PP
+.I Lc
+is the same as
+.IR ls ,
+but sets the
+.B -p
+option and pipes the output through
+.IR mc (1).
.SH SOURCE
.B /appl/cmd/ls.b
+.br
+.B /dis/lc
.SH SEE ALSO
.IR readdir (2),
-.IR lc (1)
-
-
+.IR mc (1)
diff --git a/man/1/mathcalc b/man/1/mathcalc
deleted file mode 100644
index 913ec71e..00000000
--- a/man/1/mathcalc
+++ /dev/null
@@ -1,97 +0,0 @@
-.TH MATHCALC 1
-.SH NAME
-mathcalc \- interface to a TclLib calculator module
-.SH SYNOPSIS
-.B mathcalc
-.SH DESCRIPTION
-.I Mathcalc
-reads simple expressions from the standard input, evaluates them,
-and prints the results on the standard output.
-It is a command line interface to a
-.L TclLib
-calculator module.
-It prompts the user
-.RL ( calc% )
-for each line, and
-exits on end-of-file or on reading a line containing
-.RB ` quit '.
-.PP
-Values are either integer or floating-point constants.
-A floating-point constant has a decimal point, an exponent, or both.
-Integer constants are taken as hexadecimal if they start
-.BR 0x ,
-octal if they start with
-.BR 0 ,
-and otherwise decimal.
-.PP
-Expressions are formed using the following C-like operators
-and predefined functions, shown in order of decreasing priority:
-.TP
-.B - + ! ~
-unary: negate, plus (no-op); logical not and one's complement (integers only)
-.TP
-.B * / %
-multiply and divide, integer remainder
-.TP
-.B + -
-add, subtract
-.TP
-.B << >>
-left shift, right shift (integers only)
-.TP
-.B < <= >= >
-relational operators
-.TP
-.B == !=
-equality, inequality
-.TP
-.B &
-bit-wise and (integer only)
-.TP
-.B ^
-bit-wise exclusive-OR (integer only)
-.TP
-.B |
-bit-wise or (integer only)
-.TP
-.B &&
-logical and
-.TP
-.B ||
-logical or
-.TP
-.IB a ? b : c
-conditional: if
-.I a
-is non-zero, the result is
-.IR b ,
-otherwise
-.I c
-.PP
-.I Mathcalc
-provides the following mathematical functions:
-.IP
-.EX
-.ta +\w'hypot\ \ 'u
-abs ceil fmod sin
-acos cos hypot sinh
-asin cosh log sqrt
-atan exp log10 tan
-atan2 floor pow tanh
-.EE
-.PP
-See
-.IR math-elem (2)
-for the usual definitions.
-.SH SOURCE
-.B /appl/cmd/mathcalc.b
-.br
-.B /appl/lib/tcl_calc.b
-.SH DIAGNOSTICS
-.TF ARGXXX
-.TP
-.B ARRG!
-bad constant syntax
-.TP
-.B Error!
-bad expression syntax, or any other error