xref: /386bsd/usr/local/man/man1/echo.1 (revision a2142627)
ECHO 1L "GNU Shell Utilities" "FSF" \" -*- nroff -*-
NAME
echo - display a line of text
SYNOPSIS
echo [-ne] [string ...]

echo {--help,--version}

DESCRIPTION
This manual page documents the GNU version of echo . Note that most shells have a built-in command by the same name and with similar functionality.

echo writes each given string to the standard output, with a space between them and a newline after the last one.

OPTIONS

-n Do not output the trailing newline.

-e Enable interpretation of the following backslash-escaped characters in the strings:

0

\ea alert (bell)

\eb backspace

\ec suppress trailing newline

\ef form feed

\en new line

\er carriage return

\et horizontal tab

\ev vertical tab

\e\e backslash

\ennn the character whose ASCII code is nnn (octal)

OPTIONS
When GNU echo is invoked with exactly one argument, the following options are recognized:

"--help" Print a usage message on standard output and exit successfully.

"--version" Print version information on standard output then exit successfully.