QUIZ(6) DOMAIN/IX SYS5 QUIZ(6)
NAME
quiz - test your knowledge
USAGE
/usr/games/quiz [ -i file ] [ -t ] [ category1 category2 ]
DESCRIPTION
Quiz gives associative knowledge tests on various subjects.
It asks items chosen from category1 and expects answers from
category2, or vice versa. If you don't specify a category,
quiz gives instructions and lists the available categories.
If you don't know the answer to a question, simply hit a
carriage return and quiz supplies a correct answer. At the
end of input, upon interrupt, or when questions run out,
quiz reports a score and terminates.
OPTIONS
-t Enter ``tutorial'' mode, where missed questions
are repeated later, and material is gradually
introduced as you learn.
-i file Substitute the named file for the default index
file. The lines of these files have the syntax:
line = category new-line | category : line
category= alternate | category | alternate
alternate= empty | alternate primary
primary= character | [ category ] | option
option= { category }
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 informa-
tion file. Information files have the same syntax. A
backslash (\) is used as with sh(1) to quote syntactically
significant characters or to insert transparent newlines
into a line. When either a question or its answer is empty,
quiz refrains from asking it.
FILES
/usr/games/lib/quiz/index
/usr/games/lib/quiz/*
NOTES
The construct ``a|ab'' does not work in an information file.
Use ``a{b}''.
Printed 12/4/86 QUIZ-1