xref: /csrg-svn/bin/echo/echo.1 (revision 50629)
143687Scael.\" Copyright (c) 1990 The Regents of the University of California.
243687Scael.\" All rights reserved.
319408Smckusick.\"
450188Sbostic.\" This code is derived from software contributed to Berkeley by
550188Sbostic.\" the Institute of Electrical and Electronics Engineers, Inc.
650188Sbostic.\"
7*50629Scael.\" %sccs.include.redist.roff%
843687Scael.\"
9*50629Scael.\"	@(#)echo.1	6.8 (Berkeley) 07/27/91
10*50629Scael.\"
1143687Scael.Dd
1243687Scael.Dt ECHO 1
1347304Scael.Os
1443687Scael.Sh NAME
1543687Scael.Nm echo
1643687Scael.Nd write arguments to the standard output
1743687Scael.Sh SYNOPSIS
1843687Scael.Nm echo
1943687Scael.Op Fl n
20*50629Scael.Op "string ..."
2143687Scael.Sh DESCRIPTION
2244953ScaelThe
23*50629Scael.Nm echo
24*50629Scaelutility writes any specified operands, separated by single blank (`` '')
25*50629Scaelcharacters) and followed by a newline (``\en'') character, to the standard
2650080Sbosticoutput.
2743687Scael.Pp
2843687ScaelThe following option is available:
29*50629Scael.Bl -tag -width flag
30*50629Scael.It Fl n
3150080SbosticDo not print the trailing newline character.
32*50629Scael.El
3343687Scael.Pp
34*50629ScaelThe
35*50629Scael.Nm echo
3643687Scaelutility exits 0 on success, and >0 if an error occurs.
3750080Sbostic.Sh SEE ALSO
3850080Sbostic.Xr printf 1
3943687Scael.Sh STANDARDS
4043687ScaelThe
4143687Scael.Nm echo
42*50629Scaelutility is expected to be
43*50629Scael.St -p1003.2
44*50629Scaelcompatible.
45