-
Notifications
You must be signed in to change notification settings - Fork 0
/
ccalc.1
46 lines (39 loc) · 855 Bytes
/
ccalc.1
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
.\" Man page for DSS CCalc Manual
.TH "DSS CCalc Manual" "1" "June 19, 2024" "1.0.0" "DSS CCalc Manual"
.SH NAME
CCalc
.SH SYNOPSIS
.B ccalc
.RI [OPTION] [ARGUMENTS]
.SH DESCRIPTION
.B ccalc
is a simple program that demonstrates the structure of a man page. It includes several sections commonly found in man pages.
.SH OPTIONS
.TP
.B \-h
Show this man page.
.TP
.B \-calc <expression>
Calculate basic expressions such as with +, -, *, /, %.
.TP
.B \-sqrt <number>
find square root of a number.
.TP
.B \--version
Show version.
.SH EXAMPLES
.B ccalc
-calc 5*5
.TP
This will use -calc to give you the output/result of 5*5 which will be 25.
.TP
.B ccalc
-sqrt 4
.TP
This will use -sqrt to give you the square root of 4 which will be 2.
.SH AUTHOR
AeternusDio
.SH COPYRIGHT
Copyright \(co 2024 QUACKTECH
.br
License: QUACKTECH License V2 & MIT license