Mid's Portable Utilities are a set of (hopefully) POSIX and SUS-compliant Unix userland tools that are portable across many Unices.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1000 B

.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)