add POSIX/IEEE contribution notice
[unix-history] / usr / src / bin / echo / echo.1
.\" Copyright (c) 1990 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" This code is derived from software contributed to Berkeley by
.\" the Institute of Electrical and Electronics Engineers, Inc.
.\"
.\" %sccs.include.redist.man%
.\"
.\" @(#)echo.1 6.7 (Berkeley) %G%
.Vx
.Dd
.Dt ECHO 1
.Os
.Sh NAME
.Nm echo
.Nd write arguments to the standard output
.Sh SYNOPSIS
.Nm echo
.Op Fl n
.Op string\& ...
.Sh DESCRIPTION
The
.Nm
utility writes any specified operands (separated by single blank (`` '')
characters), followed by a newline (``\en'') character, to the standard
output.
.Pp
The following option is available:
.Tw Ds
.Tp Fl n
Do not print the trailing newline character.
.Tp
.Pp
.Nm Echo
utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO
.Xr printf 1
.Sh STANDARDS
The
.Nm echo
function is expected to be POSIX 1003.2 compatible.