echo(1)echo(1)NAMEecho - echo (print) arguments
SYNOPSIS
[arg] ...
DESCRIPTION
writes its arguments separated by blanks and terminated by a new-line
on the standard output. It also understands C-like escape conventions;
beware of conflicts with the shell's use of
write an alert character
backspace
print line without appending a new-line
form-feed
new-line
carriage return
tab
vertical tab
backslash
the 8-bit character whose
ASCII code is the 1-, 2-, 3- or 4-digit octal number
n, whose first character must be a zero.
write an 8-bit value that is the zero-, one-, two- or three-
digit octal number
num
is useful for producing diagnostics in command files and for sending
known data into a pipe.
Notes
Berkeley differs from this implementation. The former does not imple‐
ment the backslash escapes. However, the semantics of the escape can
be obtained by using the option. The echo command implemented as a
built-in function of follows the Berkeley semantics (see csh(1)).
EXTERNAL INFLUENCES
Environment Variables
determines the interpretation of arg as single and/or multi-byte char‐
acters.
If is not specified in the environment or is set to the empty string,
the value of is used as a default for each unspecified or empty vari‐
able. If is not specified or is set to the empty string, a default of
"C" (see lang(5)) is used instead of If any internationalization vari‐
able contains an invalid setting, behaves as if all internationaliza‐
tion variables are set to "C". See environ(5).
International Code Set Support
Single- and multi-byte character code sets are supported.
AUTHOR
was developed by OSF and HP.
SEE ALSOsh(1).
BUGS
No characters are printed after the first This is not normally a prob‐
lem.
STANDARDS CONFORMANCEecho(1)