1QUIZ(6)                          Games Manual                          QUIZ(6)
2
3
4

NAME

6       quiz - test your knowledge
7

SYNOPSIS

9       /usr/games/quiz [ -i file ] [ -t ] [ category1 category2 ]
10

DESCRIPTION

12       Quiz  gives  associative  knowledge tests on various subjects.  It asks
13       items chosen from category1 and expects answers from category2.  If  no
14       categories  are specified, quiz gives instructions and lists the avail‐
15       able categories.
16
17       Quiz tells a correct answer whenever you type a bare newline.   At  the
18       end of input, upon interrupt, or when questions run out, quiz reports a
19       score and terminates.
20
21       The -t flag specifies  `tutorial'  mode,  where  missed  questions  are
22       repeated later, and material is gradually introduced as you learn.
23
24       The  -i  flag  causes  the named file to be substituted for the default
25       index file.  The lines of these files have the  syntax:
26              line      = category newline ⎪ category `:' line
27              category  = alternate ⎪ category `|' alternate
28              alternate = empty ⎪ alternate primary
29              primary   = character ⎪ `[' category `]' ⎪ option
30              option    = `{' category `}'
31
32       The first category on each line of an index file names  an  information
33       file.   The  remaining categories specify the order and contents of the
34       data in each line of the information file.  Information files have  the
35       same  syntax.   Backslash  `\' is used as with sh(1) to quote syntacti‐
36       cally significant characters or to insert transparent newlines  into  a
37       line.  When either a question or its answer is empty, quiz will refrain
38       from asking it.
39

FILES

41       /usr/games/quiz.k/*
42

BUGS

44       The construct `a|ab' doesn't work in an information file.  Use `a{b}'.
45
46
47
487th Edition                      May 20, 1985                          QUIZ(6)
Impressum