Line | |
---|
1 | .TH YES 1
|
---|
2 | .SH NAME
|
---|
3 | yes \- 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
|
---|
22 | uses it to automatically say "yes" to all questions a command may ask.
|
---|
23 | This is useful for commands that ask too many "Are you sure?" questions.
|
---|
24 | The optional argument makes \fIyes\fP use \fIanswer\fP as the word to
|
---|
25 | print instead of a single y character.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.