NAME(名称)
echo - 显示一行文本
SYNOPSIS(总览)
echo[OPTION]... [STRING]...
DESCRIPTION(描述)
允许在标准输出上显示STRING(s).
- -n 不输出行尾的换行符.
- -e 允许对下面列出的加反斜线转义的字符进行解释.
- -E 禁止对在STRINGs中的那些序列进行解释.
- --help 显示帮助并退出(须单独运行)
- --version 输出版本信息并退出(须单独运行)
在没有 -E 的情况下,可承认并可以内置替换以下序列:
- NNN字符的ASCII代码为NNN(八进制)
- \\
- 反斜线
- \a
- 报警符(BEL)
- \b
- 退格符
- \c
- 禁止尾随的换行符
- \f
- 换页符
- \n
- 换行符
- \r
- 回车符
- \t
- 水平制表符
- \v
- 纵向制表符
REPORTING BUGS(报告BUGS)
报告bugs,请发邮件到<bug-sh-utils@gnu.org>.
SEE ALSO(另见)
以Texinfo手册形式维护的 echo 完全文档.如果你正确地安装了 info 和 echo 命令
- info echo
应该可以使你访问到整个手册.
#p#
NAME
echo - display a line of text
SYNOPSIS
echo [OPTION]... [STRING]...
DESCRIPTION
NOTE: your shell may have its own version of echo which will supercede the version described here. Please refer to your shell's documentation for details about the options it supports.
Echo the STRING(s) to standard output.
- -n
- do not output the trailing newline
- -e
- enable interpretation of the backslash-escaped characters listed below
- -E
- disable interpretation of those sequences in STRINGs
- --help
- display this help and exit
- --version
- output version information and exit
Without -E, the following sequences are recognized and interpolated:
- \NNN
- the character whose ASCII code is NNN (octal)
- \\
- backslash
- \a
- alert (BEL)
- \b
- backspace
- \c
- suppress trailing newline
- \f
- form feed
- \n
- new line
- \r
- carriage return
- \t
- horizontal tab
- \v
- vertical tab
AUTHOR
Written by FIXME unknown.
REPORTING BUGS
Report bugs to <bug-coreutils@gnu.org>.
COPYRIGHT
Copyright © 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
SEE ALSO
The full documentation for echo is maintained as a Texinfo manual. If the info and echo programs are properly installed at your site, the command
- info coreutils echo
should give you access to the complete manual.