*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> yes (1)              
Title
Content
Arch
Section
 

yes(1)

Contents


NAME    [Toc]    [Back]

       yes - Affirms repetitively

SYNOPSIS    [Toc]    [Back]

       yes [explication]

DESCRIPTION    [Toc]    [Back]

       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    [Toc]    [Back]

       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    [Toc]    [Back]

       Determines the behavior of character classes used  in  the
       extended regular expression defined for the yesexpr locale
       keyword  in  the  LC_MESSAGES  category.   Determines  the
       locale for the processing of affirmative responses.



                                                           yes(1)
[ Back ]
 Similar pages
Name OS Title
yes FreeBSD be repetitively affirmative
yes OpenBSD be repetitively affirmative
yes HP-UX be repetitively affirmative
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service