-.\" Copyright (c) 1991 The Regents of the University of California.
-.\" All rights reserved.
+.\" $NetBSD: quiz.6,v 1.6 1997/09/20 14:28:16 lukem Exp $
+.\"
+.\" Copyright (c) 1991, 1993
+.\" The Regents of the University of California. All rights reserved.
.\"
.\" This code is derived from software contributed to Berkeley by
.\" Jim R. Oldroyd at The Instruction Set.
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" from: @(#)quiz.6 6.3 (Berkeley) 11/10/91
-.\" $Id: quiz.6,v 1.2 1993/08/01 07:46:26 mycroft Exp $
+.\" @(#)quiz.6 8.1 (Berkeley) 5/31/93
.\"
-.Dd November 10, 1991
+.Dd May 31, 1993
.Dt QUIZ 6
.Os
.Sh NAME
.Nm quiz
.Nd random knowledge tests
.Sh SYNOPSIS
-.Nm quiz
+.Nm
.Op Fl t
.Op Fl i Ar file
.Op Ar question answer
.Sh DESCRIPTION
The
-.Nm quiz
+.Nm
utility tests your knowledge of random facts.
It has a database of subjects from which you can choose.
With no arguments,
-.Nm quiz
+.Nm
displays the list of available subjects.
.Pp
The options are as follows:
them right the first time, and new questions are presented less frequently
to help you learn the older ones.
.It Fl i
-Specify an alternate index file.
+Specify an alternative index file.
.El
.Pp
Subjects are divided into categories.
You can pick any two categories from the same subject.
-.Nm Quiz
+.Nm
will ask questions from the first category and it expects answers from
the second category.
For example, the command ``quiz victim killer'' asks questions which are
other way around.
.Pp
If you get the answer wrong,
-.Nm quiz
+.Nm
lets you try again.
To see the right answer, enter a blank line.
.Sh "Index and Data File Syntax"
.sp
.Bl -tag -width "pat|pat" -compact -offset indent
.It pat|pat
-alternate patterns
+alternative patterns
.It {pat}
optional pattern
.It [pat]
follows.
.Pp
If either a question or its answer is empty,
-.Nm quiz
+.Nm
will refrain from asking it.
.Sh FILES
.Bl -tag -width /usr/share/games/quiz.db -compact
The default index and data files.
.El
.Sh BUGS
-.Nm Quiz
+.Nm
is pretty cynical about certain subjects.