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
27
28           line      = category newline ⎪ category `:' line
29           category  = alternate ⎪ category `|' alternate
30           alternate = empty ⎪ alternate primary
31           primary   = character ⎪ `[' category `]' ⎪ option
32           option    = `{' category `}'
33
34       The first category on each line of an index file names  an  information
35       file.   The  remaining categories specify the order and contents of the
36       data in each line of the information file.  Information files have  the
37       same  syntax.   Backslash  `\' is used as with sh(1) to quote syntacti‐
38       cally significant characters or to insert transparent newlines  into  a
39       line.  When either a question or its answer is empty, quiz will refrain
40       from asking it.
41

FILES

43       /usr/games/quiz.k/*
44

BUGS

46       The construct `a|ab' doesn't work in an information file.  Use `a{b}'.
47
48
49
50                                                                       QUIZ(6)
Impressum