Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sh5(1)

echo(1sh5)

Name

echo − echo arguments

Syntax

echo [ arg ] ... 

Description

The echo command writes its arguments separated by blanks and terminated by a new-line on the standard output. It also understands C-like escape conventions; however, beware of conflicts with the shell’s use of the backslash (\) character:

\b backspace

\c print line without new-line

\f form-feed

\n new-line

\r carriage return

\t tab

\v vertical tab

\\ backslash

\n the 8-bit character whose ASCII code is the 1-, 2- or 3-digit octal number n, which must start with a zero.

The echo is useful for producing diagnostics in command files and for sending known data into a pipe.

See Also

sh5(1)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026