.\" Copyright (c) 1991 The Regents of the University of California.
.\" This code is derived from software contributed to Berkeley by
.\" %sccs.include.redist.man%
.\" @(#)echo.1 5.1 (Berkeley) %G%
echo \- produce message in a shell script
Copyright 1989 by Kenneth Almquist.
prints its arguments on the standard output, separated by spaces.
option is present, a newline is output following the arguments.
to treat the escape sequences specially, as described in the following
option is the default, and is provided solely for compatibility with
If any of the following sequences of characters is encountered during
output, the sequence is not output. Instead, the specified action is
A backspace character is output.
Subsequent output is suppressed. This is normally used at the end of the
last argument to suppress the trailing newline that
Output a newline character.
Output a carriage return.
Output a (horizontal) tab character.
Output the character whose value is given by zero to three digits.
If there are zero digits, a nul character is output.
Remember that backslash is special to the shell and needs to be escaped.
To output a message to standard error, say
The octal character escape mechanism (\e0\fIdigits\fR) differs from the
to treat its arguments literally, rather than interpreting them as
options and escape sequences.