'\"macro stdmacro
.if n .pH g1.yes @(#)yes	40.1 of 6/23/89
.nr X
.if \nX=0 .ds x} yes 1 "XENIX Compatibility Package" "\&"
.if \nX=1 .ds x} yes 1 "XENIX Compatibility Package"
.if \nX=2 .ds x} yes 1 "" "\&"
.if \nX=3 .ds x} yes "" "" "\&"
.TH \*(x}
.SH NAME
\f4yes\fP - Prints string repeatedly
.SH SYNOPSIS
\f4yes\fP[\f2string\f1]
.SH DESCRIPTION
\f4yes\fP repeatedly outputs ``y'', or if a single string argument
is given, \f2arg\f1 is output repeatedly.  The command will continue
indefinitely unless aborted.  \f4yes\fP is useful in pipes to commands
that prompt for input and require a ``y'' response for a yes.  In this
case, \f4yes\fP terminates when the command that it pipes to terminates
so that no infinite loop occurs.
