diff options
author | Rob Savoye <rob@welcomehome.org> | 2001-02-05 04:26:49 +0000 |
---|---|---|
committer | Rob Savoye <rob@welcomehome.org> | 2001-02-05 04:26:49 +0000 |
commit | 8813c6679e78c06d69259993baf8f44537abdc11 (patch) | |
tree | cd107e9fab160ca92d55e594e878d0d9bb776cce /contrib/bluegnu2.0.3/example/calc/calc.1 | |
parent | 65bfb0bc0716fbf4ae5f12992afa403287143039 (diff) | |
download | dejagnu-redhat.zip dejagnu-redhat.tar.gz dejagnu-redhat.tar.bz2 |
import from redhat cvsfrom-devoorigin/redhatredhat
Diffstat (limited to 'contrib/bluegnu2.0.3/example/calc/calc.1')
-rw-r--r-- | contrib/bluegnu2.0.3/example/calc/calc.1 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/contrib/bluegnu2.0.3/example/calc/calc.1 b/contrib/bluegnu2.0.3/example/calc/calc.1 new file mode 100644 index 0000000..ea60393 --- /dev/null +++ b/contrib/bluegnu2.0.3/example/calc/calc.1 @@ -0,0 +1,29 @@ +.\" +.TH SKEL 1 "28th Jan 1993" +.SH NAME +calc \- a very dumb calculator to demonstrate +.I deja-gnu +.SH SYNOPSIS +.B calc +.SH DESCRIPTION +.LP +.B calc +accepts the commands: +.TP +.B add #1 #2 +Add #1 and #2 and print the answer. +.TP +.B multiply #1 #2 +Multiply #1 and #2 and print the answer. +.TP +.B quit +.br +Exit +.TP +.B version +Print a version string. +.SH BUGS +.LP +.B multiply 2 n +gives the wrong answer (unless n == 0). + |