.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\" This code is derived from software contributed to Berkeley by
.\" Copyright 1989 by Kenneth Almquist
.\" %sccs.include.redist.roff%
.\" @(#)echo.1 8.2 (Berkeley) %G%
.Nd produce message in a shell script
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
to treat its arguments literally, rather than interpreting them as
options and escape sequences.