echo — echo (print) arguments
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
print line without appending a new-line
the 8-bit character whose
code is the 1-, 2-, 3- or 4-digit octal number
whose first character must be a zero.
write an 8-bit value that is the zero-, one-, two- or three-digit octal number
is useful for producing diagnostics in command files
and for sending known data into a pipe.
differs from this implementation.
The former does not implement the backslash escapes.
However, the semantics of the
escape can be obtained by using the
The echo command implemented as a built-in function of
follows the Berkeley semantics (see
determines the interpretation of
as single and/or multi-byte characters.
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 variable. If
is not specified or is set to the empty string,
a default of "C" (see
is used instead of
If any internationalization variable contains an invalid setting,
behaves as if all internationalization variables are set to "C".
International Code Set Support
Single- and multi-byte character code sets are supported.
was developed by OSF and HP.
No characters are printed after the first
This is not normally a problem.
echo: SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2