xref: /csrg-svn/bin/echo/echo.1 (revision 50188)
143687Scael.\" Copyright (c) 1990 The Regents of the University of California.
243687Scael.\" All rights reserved.
319408Smckusick.\"
4*50188Sbostic.\" This code is derived from software contributed to Berkeley by
5*50188Sbostic.\" the Institute of Electrical and Electronics Engineers, Inc.
6*50188Sbostic.\"
743687Scael.\" %sccs.include.redist.man%
843687Scael.\"
9*50188Sbostic.\"     @(#)echo.1	6.7 (Berkeley) 06/27/91
1047304Scael.Vx
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
2043687Scael.Op string\& ...
2143687Scael.Sh DESCRIPTION
2244953ScaelThe
2344953Scael.Nm
2450080Sbosticutility writes any specified operands (separated by single blank (`` '')
2550080Sbosticcharacters), followed by a newline (``\en'') character, to the standard
2650080Sbosticoutput.
2743687Scael.Pp
2843687ScaelThe following option is available:
2944953Scael.Tw Ds
3043687Scael.Tp Fl n
3150080SbosticDo not print the trailing newline character.
3243687Scael.Tp
3343687Scael.Pp
3443687Scael.Nm Echo
3543687Scaelutility exits 0 on success, and >0 if an error occurs.
3650080Sbostic.Sh SEE ALSO
3750080Sbostic.Xr printf 1
3843687Scael.Sh STANDARDS
3943687ScaelThe
4043687Scael.Nm echo
4143687Scaelfunction is expected to be POSIX 1003.2 compatible.
42