e
echo(1) | echo(1) |
NAME
echo - echo (print) arguments
SYNOPSIS
echo [ arg ] ...
DESCRIPTION
echo writes its arguments separated by blanks and terminated by a
\a | write an alert character |
\b | backspace |
\c | print line without appending a |
\f | |
\n | |
\r | carriage return |
\t | tab |
\v | vertical tab |
\\backslash
\n the
\0num write an
echo is useful for producing diagnostics in command ®les and for sending known data into a pipe.
Notes
Berkeley echo differs from this implementation. The former does not implement the backslash escapes. However, the semantics of the \c escape can be obtained by using the
EXTERNAL INFLUENCES
Environment Variables
LC_CTYPE determines the interpretation of arg as single and/or
If LC_CTYPE is not speci®ed in the environment or is set to the empty string, the value of LANG is used as a default for each unspeci®ed or empty variable. If LANG is not speci®ed or is set to the empty string, a default of "C" (see lang(5)) is used instead of LANG. If any internationalization variable contains an invalid setting, echo behaves as if all internationalization variables are set to "C". See environ(5).
International Code Set Support
Single- and
AUTHOR
echo was developed by OSF and HP.
SEE ALSO sh(1).
BUGS
No characters are printed after the ®rst \c. This is not normally a problem.
STANDARDS CONFORMANCE
echo: SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2
Section 1−194 | − 1 − |