.TH echo 1 2021-11-21 mp-utils "General Commands Manual" .SH NAME echo \- Print argv to stdout. .PP .SH SYNOPSIS .PP Print the provided arguments to stdout while applying .SM SUS backslash escapes. .SH DESCRIPTION .PP Echo accepts input from the user and prints it to stdout while escaping the following specified sequences. \\a \- Print a BEL. \\b \- Print a backspace. \\c \- Suppress the trailing newline and ignore further input. \\f \- Print a form-feed. \\n \- Print a newline. \\r \- Print a carriage return. \\t \- Print a tabulation. \\v \- Print a vertical tabulation. \\0 \- Print the specified codepoint (specified in octal) in the system's encoding. .SH OPTIONS .PP This implementation of echo accepts no parameters. .SH ENVIRONMENT This implementation of echo requires a C89 compiler. .SH FILES /usr/src/mp-utils/src/echo.c .SH CONFORMING TO .PP .SM POSIX 2017, .SM SUS 3 .SH NOTES .PP For historical reasons implementations of echo vary wildly in their behavior across systems. For a portable way to print to stdout, see printf. .SH ERRORS .PP Currently, \\0xxx (octal) escapes have not been implemented. .SH SEE ALSO echo(1p), printf(1p), printf(1)