repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixes for host gcc 4.6.1
[zpugcc/jano.git]
/
toolchain
/
dejagnu
/
example
/
calc
/
calc.1
blob
776145862bb7699e40c487a7556a15e59d8a0f31
1
.\"
2
.TH SKEL 1 "28th Jan 1993"
3
.SH NAME
4
calc \- a very dumb calculator to demonstrate
5
.I deja-gnu
6
.SH SYNOPSIS
7
.B calc
8
.SH DESCRIPTION
9
.LP
10
.B calc
11
accepts the commands:
12
.TP
13
.B add #1 #2
14
Add #1 and #2 and print the answer.
15
.TP
16
.B multiply #1 #2
17
Multiply #1 and #2 and print the answer.
18
.TP
19
.B quit
20
.br
21
Exit
22
.TP
23
.B version
24
Print a version string.
25
.SH BUGS
26
.LP
27
.B multiply 2 n
28
gives the wrong answer (unless n == 0).
29