-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbathsol.6
90 lines (90 loc) · 3.27 KB
/
bathsol.6
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
.\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples.
.\"See Also:
.\"man mdoc.samples for a complete listing of options
.\"man mdoc for the short list of editing options
.\"/usr/share/misc/mdoc.template
.Dd 04/15/2018 \" DATE
.Dt bathsol 6 \" Program name and manual section number
.Os Linux
.Sh NAME \" Section Header - required - don't modify
.Nm bathsol
.\" The following lines are read in generating the apropos(man -k) database. Use only key
.\" words here as the database is built based on the words here and in the .ND line.
.\".Nm Solitaire(),
.\".Nm Bathroom Solitaire
.\" Use .Nm macro to designate other names for the documented program.
.\".Nd This line parsed for whatis database.
.Nd Bathroom solitaire game
.Sh SYNOPSIS \" Section Header - required - don't modify
.Nm
.Ar [num|deck|winner|run x]
.\".Op Fl ab \" [-ab]
.\".Op Ar \" [file ...]
.\".Ar arg0 \" Underlined argument - use .Ar anywhere to underline
.Sh DESCRIPTION \" Section Header - required - don't modify
Simple game of bathroom solitaire.
.\".Nm \" Use the .Nm macro to refer to your program throughout the man page like such:
.\"Underlining is accomplished with the .Ar macro like this:
.\".Ar underlined text .
.\".Pp \" Inserts a space
.\"A list of items with descriptions:
.\".Bl -tag -width -indent \" Begins a tagged list
.\".It item a \" Each item preceded by .It macro
.\"Show the entire deck.
.\".It item b
.\"Only show the remaining numbers in the deck.
.\".El \" Ends the list
.\".Pp
.\"A list of flags and their descriptions:
.\".Bl -tag -width -indent \" Differs from above in tag removed
.\".It Fl a \"-a flag as a list item
.\"Show deck
.\".It Fl b
.\"Only show number of cards at end of game
.\".El \" Ends the list
.\".Pp
.\" .Sh ENVIRONMENT \" May not be needed
.\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1
.\" .It Ev ENV_VAR_1
.\" Description of ENV_VAR_1
.\" .It Ev ENV_VAR_2
.\" Description of ENV_VAR_2
.\" .El
.\".Sh FILES \" File used or created by the topic of the man page
.\".Bl -tag -width "/usr/local/bin/bathsol" -compact
.\".It Pa /usr/share/file_name
.\"FILE_1 description
.\".It Pa /usr/local/bin/bathsol
.\"FILE_2 description
.\".El
.\" .Sh DIAGNOSTICS \" May not be needed
.\" .Bl -diag
.\" .It Diagnostic Tag
.\" Diagnostic informtion here.
.\" .It Diagnostic Tag
.\" Diagnostic informtion here.
.\" .El
.\".Sh SEE ALSO
.\" List links in ascending order by section, alphabetically within a section.
.\" Please do not reference files that do not exist without filing a bug report
.\".Xr a 1 ,
.\".Xr b 1 ,
.\".Xr c 1 ,
.\".Xr a 2 ,
.\".Xr b 2 ,
.\".Xr a 3 ,
.\".Xr b 3
.\" .Sh BUGS \" Document known, unremedied bugs
.\" .Sh HISTORY \" Document history if command behaves in a unique manner
.Sh OPTIONS
.Bl -tag -width -indent
.It (none) - Normal play
.It num - only show how many cards are left
.It deck - show the deck
.It winner - play until a win is achieved (0 cards left)
.It run X - run the game X times
.El
.Sh BUGS
No known bugs.
.Sh AUTHOR
John Wiggins ([email protected])