|
|
1.1 root 1: .\" @(#)quiz.6 6.1 (Berkeley) 5/20/85
2: .\"
3: .TH QUIZ 6 "May 20, 1985"
4: .AT 3
5: .SH NAME
6: quiz \- test your knowledge
7: .SH SYNOPSIS
8: .B /usr/games/quiz
9: [
10: .B \-i
11: file ]
12: [
13: .B \-t
14: ] [ category1 category2 ]
15: .SH DESCRIPTION
16: .I Quiz
17: gives associative knowledge tests on various subjects.
18: It asks items chosen from
19: .I category1
20: and expects answers from
21: .IR category2 .
22: If no categories are specified,
23: .I quiz
24: gives instructions and lists the available categories.
25: .PP
26: .I Quiz
27: tells a correct answer whenever you type a bare newline.
28: At the end of input, upon interrupt, or when questions run out,
29: .I quiz
30: reports a score and terminates.
31: .PP
32: The
33: .B \-t
34: flag specifies `tutorial' mode, where missed questions are repeated
35: later, and material is gradually introduced as you learn.
36: .PP
37: The
38: .B \-i
39: flag causes the named file to be substituted for the default index file.
40: The lines of these files have the syntax:
41: .RS
42: .nf
43: .ta \w'alternate 'u
44: line = category newline \(bv category `:' line
45: category = alternate \(bv category `|' alternate
46: alternate = empty \(bv alternate primary
47: primary = character \(bv `[' category `]' \(bv option
48: option = `{' category `}'
49: .fi
50: .RE
51: .PP
52: The first category on each line of an index file names an information file.
53: The remaining categories specify the order and contents of
54: the data in each line of the information file.
55: Information files have the same syntax.
56: Backslash `\\' is used as with
57: .IR sh (1)
58: to quote syntactically significant characters or to insert transparent
59: newlines into a line.
60: When either a question or its answer is empty,
61: .I quiz
62: will refrain from asking it.
63: .SH FILES
64: /usr/games/quiz.k/*
65: .SH BUGS
66: The construct `a\||\|ab' doesn't work in an information file.
67: Use `a{b}'.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.