xref: /csrg-svn/bin/echo/echo.1 (revision 50080)
143687Scael.\" Copyright (c) 1990 The Regents of the University of California.
243687Scael.\" All rights reserved.
319408Smckusick.\"
443687Scael.\" %sccs.include.redist.man%
543687Scael.\"
6*50080Sbostic.\"     @(#)echo.1	6.6 (Berkeley) 06/17/91
743687Scael.\"
847304Scael.Vx
943687Scael.Dd
1043687Scael.Dt ECHO 1
1147304Scael.Os
1243687Scael.Sh NAME
1343687Scael.Nm echo
1443687Scael.Nd write arguments to the standard output
1543687Scael.Sh SYNOPSIS
1643687Scael.Nm echo
1743687Scael.Op Fl n
1843687Scael.Op string\& ...
1943687Scael.Sh DESCRIPTION
2044953ScaelThe
2144953Scael.Nm
22*50080Sbosticutility writes any specified operands (separated by single blank (`` '')
23*50080Sbosticcharacters), followed by a newline (``\en'') character, to the standard
24*50080Sbosticoutput.
2543687Scael.Pp
2643687ScaelThe following option is available:
2744953Scael.Tw Ds
2843687Scael.Tp Fl n
29*50080SbosticDo not print the trailing newline character.
3043687Scael.Tp
3143687Scael.Pp
3243687Scael.Nm Echo
3343687Scaelutility exits 0 on success, and >0 if an error occurs.
34*50080Sbostic.Sh SEE ALSO
35*50080Sbostic.Xr printf 1
3643687Scael.Sh STANDARDS
3743687ScaelThe
3843687Scael.Nm echo
3943687Scaelfunction is expected to be POSIX 1003.2 compatible.
40