70 lines
842 B
HTML
70 lines
842 B
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>yes(1)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>yes(1)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
yes - an endless stream of the same word
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>yes</STRONG> [<EM>answer</EM>]
|
|
|
|
|
|
</PRE>
|
|
<H2>EXAMPLES</H2><PRE>
|
|
|
|
<STRONG>yes</STRONG> <STRONG>|</STRONG> <STRONG>script</STRONG> # Answer yes to all questions from the script
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
|
|
<EM>Yes</EM> sends out an endless stream of y's, each on one line. One uses it to
|
|
automatically say "yes" to all questions a command may ask. This is
|
|
useful for commands that ask too many "Are you sure?" questions. The
|
|
optional argument makes <EM>yes</EM> use <EM>answer</EM> as the word to print instead of a
|
|
single y character.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|