mp-utils/doc/echo.1

55 lines
1000 B
Groff

.TH echo 1 2021-11-21 mp-utils Userland
.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 is a standard Unix tool that accepts input from the user and prints it to stdout while applying minimal or no formatting.
.SH OPTIONS
.PP
This implementation of echo accepts no arguments.
.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
Including the following backslash-escapes modifies echo's behavior.
\\a \- Print a BEL.
\\b \- Print a backspace.
\\f \- Print a form-feed.
\\f \- Print a newline.
\\r \- Print a carriage return.
\\t \- Print a tabulation.
\\v \- Print a vertical tabulation.
\\c \- Suppress the trailing newline and ignore further input.
.SH BUGS
.PP
Currently, \\0 (octal) escapes have not been implemented.
.SH SEE ALSO
echo(1p), printf(1)