yes(1) osf1 man page | unix.com

Man Page: yes

Operating Environment: osf1

Section: 1

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 deter- mines 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 automatically send an affirmative response to the request for confirmation, enter: yes | rm -i *
ENVIRONMENT VARIABLES
Determines the behavior of character classes used in the extended regular expression defined for the yesexpr locale keyword in the LC_MES- SAGES category. Determines the locale for the processing of affirmative responses. yes(1)
Related Man Pages
locale(1) - opensolaris
locale(1) - osf1
ranlib(1) - hpux
rpmatch(3) - osf1
gettxt(1) - suse
Similar Topics in the Unix Linux Community
Getting yesterday DATE
Compare date from db2 table to yesterday's Unix system date
basic script for yes and no answers
How to display yesterday Date in AIX
Grep for string and substitute if exits with a yes/no