YES.1
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:

OS Develop

Development Platform:

WINDOWS

  1. .TH YES 1
  2. .SH NAME
  3. yes - an endless stream of the same word
  4. .SH SYNOPSIS
  5. fByesfR [fIanswerfR]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. fIYesfP 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 fIyesfP use fIanswerfP as the word to
  25. print instead of a single y character.