diff options
Diffstat (limited to 'static/unix-v10/man6/quiz.6')
| -rw-r--r-- | static/unix-v10/man6/quiz.6 | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/static/unix-v10/man6/quiz.6 b/static/unix-v10/man6/quiz.6 new file mode 100644 index 00000000..0a1ff4f1 --- /dev/null +++ b/static/unix-v10/man6/quiz.6 @@ -0,0 +1,86 @@ +.TH QUIZ 6 +.CT 1 inst_info +.SH NAME +quiz \- test your knowledge +.SH SYNOPSIS +.B /usr/games/quiz +[ +.B \-i +.I file +] +[ +.B \-t +] +[ +.I category1 category2 +] +.SH DESCRIPTION +.I Quiz +gives associative +knowledge tests on various subjects. +It asks items chosen from +.I category1 +and expects answers from +.IR category2 . +If no categories are specified, +.I quiz +gives instructions +and lists the available categories. +.PP +.I Quiz +tells a correct answer whenever you type +a bare newline. +At the end of input, upon interrupt, +or when questions run out, +it reports a score and terminates. +.PP +The +.B \-t +flag specifies `tutorial' mode, +where missed questions are repeated +later, and material is gradually introduced as you learn. +.PP +The +.B \-i +flag causes the named file to be substituted for the +default index file. +The lines of these files have the syntax: +.IP +.nf +.ta \w'alternate 'u +line = category newline \(bv category `:' line +category = alternate \(bv category `|' alternate +alternate = empty \(bv alternate primary +primary = character \(bv `[' category `]' \(bv option +option = `{' category `}' +.fi +.PP +The first category on each +line of an index file names an information file. +The remaining categories specify the order and contents of +the data in each line of the +information file. +Information files have the same syntax. +Backslash +.L \e +is used as with +.IR sh (1) +to quote syntactically +significant characters or to insert transparent +newlines into a line. +When either a question or its answer is empty, +.I quiz +will refrain from asking it. +.SH FILES +.F /usr/games/lib/quiz.k/* +.SH BUGS +The construct +.L a|ab +doesn't work in an information +file. +Use +.LR a{b} +or +.LR ab|a . +.br +Case distinctions cannot be checked even when they count. |
