echodisplay arguments |
Command |
echo argument...
echo writes its arguments to the standard output.
echo accepts these C-style escape sequences:
\a\b\c\n and
\r\f\n\r\t\v\0num\\echo follows the final argument with a newline unless
it finds \c in the arguments.
Arguments are subject to standard argument manipulation.
echo is to expand file names on the
command line, as in:
This displays the names of all files with names ending inecho *.[ch]
.c or
.h, typically C source and header files.
echo displays the names on a single line. If there
are no file names in the current directory that end in .c or
.h, echo simply displays the string
*.[ch].
echo is also handy for passing small amounts of input
to other filters:
echo 'this is\nreal handy' | banner
echo always returns the status value:
0Successful completion.
-n option is equivalent to \c embedded
in an argument.
echo is provided as both an external utility and a
built-in MKS KornShell utility.
sh