ECHO(1) — HP-UX
NAME
echo − echo (print) arguments
SYNOPSIS
echo [ arg ] ...
DESCRIPTION
Echo 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 \:
\b backspace
\c print line without appending a new-line
\f form-feed
\n new-line
\r carriage return
\t tab
\v vertical tab
\\ backslash
\n 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.
Echo is useful for producing diagnostics in command files and for sending known data into a pipe.
SEE ALSO
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 -n option. The echo command implemented as a built-in function of csh(1) follows the Berkeley semantics.
BUGS
No characters are printed after the first \c. This is not normally a problem.
INTERNATIONAL SUPPORT
8- and 16-bit data.
Hewlett-Packard Company — Version B.1, May 11, 2021