YES.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH YES 1
- .SH NAME
- yes - an endless stream of the same word
- .SH SYNOPSIS
- fByesfR [fIanswerfR]fR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH EXAMPLES
- .EX "yes | script" "Answer yes to all questions from the script"
- .SH DESCRIPTION
- .PP
- fIYesfP sends out an endless stream of y's, each on one line. One
- uses it to automatically say "yes" to all questions a command may ask.
- This is useful for commands that ask too many "Are you sure?" questions.
- The optional argument makes fIyesfP use fIanswerfP as the word to
- print instead of a single y character.