xref: /csrg-svn/bin/echo/echo.1 (revision 44953)
143687Scael.\" Copyright (c) 1990 The Regents of the University of California.
243687Scael.\" All rights reserved.
319408Smckusick.\"
443687Scael.\" %sccs.include.redist.man%
543687Scael.\"
6*44953Scael.\"     @(#)echo.1	6.4 (Berkeley) 07/24/90
743687Scael.\"
843687Scael.Dd
943687Scael.Dt ECHO 1
1043687Scael.Os 4.4
1143687Scael.Sh NAME
1243687Scael.Nm echo
1343687Scael.Nd write arguments to the standard output
1443687Scael.Sh SYNOPSIS
1543687Scael.Nm echo
1643687Scael.Op Fl n
1743687Scael.Op string\& ...
1843687Scael.Sh DESCRIPTION
19*44953ScaelThe
20*44953Scael.Nm
21*44953Scaelutility writes its arguments to standard output,
2243687Scaelfollowed by a <newline> character.
2343687ScaelIf there are no arguments,
2443687Scaelonly the <newline> character is written.
2543687Scael.Pp
2643687ScaelThe following option is available:
27*44953Scael.Tw Ds
2843687Scael.Tp Fl n
2943687ScaelThe output is not terminated with a newline.
3043687Scael.Tp
3143687Scael.Pp
3243687ScaelThe argument
3343687Scael.Ar string
3443687Scaeldefines a string to be written to standard output.
3543687Scael.Pp
3643687Scael.Nm Echo
3743687Scaelutility exits 0 on success, and >0 if an error occurs.
3843687Scael.Sh STANDARDS
3943687ScaelThe
4043687Scael.Nm echo
4143687Scaelfunction is expected to be POSIX 1003.2 compatible.
42