aboutsummaryrefslogtreecommitdiff
path: root/contrib/bluegnu2.0.3/example/calc/calc.1
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bluegnu2.0.3/example/calc/calc.1')
-rw-r--r--contrib/bluegnu2.0.3/example/calc/calc.129
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).
+