aboutsummaryrefslogtreecommitdiff
path: root/contrib/bluegnu2.0.3/example/calc/calc.1
blob: ea6039338212aa7e551fb7dc5d1f9091dde5b348 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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).