xref: /csrg-svn/bin/echo/echo.1 (revision 43687)
1*43687Scael.\" Copyright (c) 1990 The Regents of the University of California.
2*43687Scael.\" All rights reserved.
319408Smckusick.\"
4*43687Scael.\" %sccs.include.redist.man%
5*43687Scael.\"
6*43687Scael.\"     @(#)echo.1	6.3 (Berkeley) 06/24/90
7*43687Scael.\"
8*43687Scael.Dd
9*43687Scael.Dt ECHO 1
10*43687Scael.Os 4.4
11*43687Scael.Sh NAME
12*43687Scael.Nm echo
13*43687Scael.Nd write arguments to the standard output
14*43687Scael.Sh SYNOPSIS
15*43687Scael.Nm echo
16*43687Scael.Op Fl n
17*43687Scael.Op string\& ...
18*43687Scael.Sh DESCRIPTION
19*43687ScaelThe echo utility writes its arguments to standard output,
20*43687Scaelfollowed by a <newline> character.
21*43687ScaelIf there are no arguments,
22*43687Scaelonly the <newline> character is written.
23*43687Scael.Pp
24*43687ScaelThe following option is available:
25*43687Scael.Tw Fl
26*43687Scael.Tp Fl n
27*43687ScaelThe output is not terminated with a newline.
28*43687Scael.Tp
29*43687Scael.Pp
30*43687ScaelThe argument
31*43687Scael.Ar string
32*43687Scaeldefines a string to be written to standard output.
33*43687Scael.Pp
34*43687Scael.Nm Echo
35*43687Scaelutility exits 0 on success, and >0 if an error occurs.
36*43687Scael.Sh STANDARDS
37*43687ScaelThe
38*43687Scael.Nm echo
39*43687Scaelfunction is expected to be POSIX 1003.2 compatible.
40