Manual Page Result
0
Command: yes | Section: 1 | Source: Digital UNIX | File: yes.1.gz
yes(1) General Commands Manual yes(1)
NAME
yes - Affirms repetitively
SYNOPSIS
yes [explication]
DESCRIPTION
The yes command repeatedly outputs y, or the locale's equivalent of a
y, or, if specified, explication. (The LC_MESSAGES variable determines
the locale's equivalent of y or n (for yes/no queries)).
The yes command is useful for providing continuous input to a program.
Terminate output by pressing the Interrupt key sequence.
EXAMPLES
To delete all files in a directory (using the rm command) and automati-
cally send an affirmative response to the request for confirmation, en-
ter: yes | rm -i *
ENVIRONMENT VARIABLES
Determines the behavior of character classes used in the extended regu-
lar expression defined for the yesexpr locale keyword in the LC_MES-
SAGES category. Determines the locale for the processing of affirma-
tive responses.
yes(1)