source: trunk/minix/man/man1/yes.1@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 595 bytes
RevLine 
[9]1.TH YES 1
2.SH NAME
3yes \- an endless stream of the same word
4.SH SYNOPSIS
5\fByes\fR [\fIanswer\fR]\fR
6.br
7.de FL
8.TP
9\\fB\\$1\\fR
10\\$2
11..
12.de EX
13.TP 20
14\\fB\\$1\\fR
15# \\$2
16..
17.SH EXAMPLES
18.EX "yes | script" "Answer yes to all questions from the script"
19.SH DESCRIPTION
20.PP
21\fIYes\fP sends out an endless stream of y's, each on one line. One
22uses it to automatically say "yes" to all questions a command may ask.
23This is useful for commands that ask too many "Are you sure?" questions.
24The optional argument makes \fIyes\fP use \fIanswer\fP as the word to
25print instead of a single y character.
Note: See TracBrowser for help on using the repository browser.