Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)

echo(1) OSS Shell and Utilities Reference Manual
This command displays the message The back-up files are: and then displays the
filenames in the current directory ending with .bak.
4. To add a single line of text to a file, enter:
echo Remember to set the shell search path to $PATH. >>notes
This command adds the message to the end of the file notes after the shell substitutes the
value of the PATH shell variable.
5. To write a message to the standard error output (shell built-in command only), enter:
echo Error: file already exists. >&2
Use this command in shell procedures to write error messages. If the >&2 is omitted,
then the message is written to the standard output file.
NOTES
The OSS echo command has both a shell built-in version and a regular version. The two versions
have the same features and functionality. The only difference between the two versions is that
the shell built-in version does not start a new shell process when it is invoked. Both versions are
described in the reference page for echo. The shell built-in version is the default. To specify the
regular version, use the full pathname: /bin/echo For more information about shell built-in com-
mands, refer to the reference page for sh(1).
RELATED INFORMATION
Commands: sh(1).
324 Hewlett-Packard Company 527188-021