Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought




quiz(6) quiz(6)
NAME quiz - gives associative knowledge tests on various subjects SYNOPSIS quiz [-ifile] [-t] [category1 category2] ARGUMENTS category1 category2 Causes quiz to ask items chosen from category1 and expects answers from category2, or vice versa. If no categories are specified, quiz gives instructions and lists the available categories. -ifile Causes the named file to be substituted for the default index file. The lines of these files have the syntax: line = category newline | 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 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. -t Specifies a tutorial mode, where missed questions are repeated later, and material is gradually introduced as you learn. DESCRIPTION quiz tells a correct answer whenever you type a bare newline. At the end of input, upon interrupt, or when questions run out, quiz reports a score and terminates. A backslash \ is used, as with sh, to quote syntactically significant characters or to insert transparent newlines into a line. When either a question or its answer is empty, quiz will refrain from asking it. LIMITATIONS The construct a | ab doesn't work in an information file. Use a{b}. January 1992 1



quiz(6) quiz(6)
FILES /usr/games/quiz Executable file /usr/games/lib/quiz/index Index file /usr/games/lib/quiz/* Files containing quiz information 2 January 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026