Berkeley copyright notice
[unix-history] / usr / src / bin / echo / echo.1
CommitLineData
f91ffbce 1.\" @(#)echo.1 6.2 (Berkeley) %G%
b6a59bd8 2.\"
4c665c96 3.TH ECHO 1 ""
b6a59bd8
KM
4.AT 3
5.SH NAME
6echo \- echo arguments
7.SH SYNOPSIS
8.B echo
9[
10.B \-n
11]
12[ arg ] ...
13.SH DESCRIPTION
14.I Echo
15writes its arguments separated by blanks and terminated by
ee8a8962 16a newline on the standard output. If the flag
b6a59bd8 17.B \-n
ee8a8962 18is used, no newline is added to the output.
b6a59bd8
KM
19.PP
20.I Echo
f91ffbce
KB
21is useful for producing diagnostics in shell programs and for writing
22constant data on pipes. If using the Bourne Shell, to send diagnostics
23to the standard error file, do `echo ... 1>&2'.