echo.1
来自「minix操作系统最新版本(3.1.1)的源代码」· 1 代码 · 共 69 行
1
69 行
.TH ECHO 1.SH NAME \" Copyright (C) 1989 by Kenneth Almquist.echo \- produce message in a shell script.SH SYNOPSIS.B echo[.B -n|.B -e].I args....SH DESCRIPTION.I Echoprints its arguments on the standard output, separated by spaces.Unless the.B -noption is present, a newline is output following the arguments.The.B -eoption causes.I echoto treat the escape sequences specially, as described in the followingparagraph.Only one of the options.B -nand.B -emay be given..PPIf any of the following sequences of characters is encountered duringoutput, the sequence is not output. Instead, the specified action isperformed:.de i.IP "\\fB\\$1\\fR" 5...i \ebA backspace character is output..i \ecSubsequent output is suppressed. This is normally used at the end of thelast argument to suppress the trailing newline that.I echowould otherwise output..i \efOutput a form feed..i \enOutput a newline character..i \erOutput a carriage return..i \etOutput a (horizontal) tab character..i \evOutput a vertical tab..i \e0\fIdigits\fROutput the character whose value is given by zero to three digits.If there are zero digits, a nul character is output..i \e\eOutput a backslash..SH HINTSRemember that backslash is special to the shell and needs to be escaped.To output a message to standard error, say.sp.ti +1iecho message >&2.SH BUGSThe octal character escape mechanism (\e0\fIdigits\fR) differs from theC language mechanism..SH AUTHORKenneth Almquist.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?