Commit | Line | Data |
---|---|---|
f35cac8e CL |
1 | .\" Copyright (c) 1990 The Regents of the University of California. |
2 | .\" All rights reserved. | |
b6a59bd8 | 3 | .\" |
cf136d2c KB |
4 | .\" This code is derived from software contributed to Berkeley by |
5 | .\" the Institute of Electrical and Electronics Engineers, Inc. | |
f35cac8e | 6 | .\" |
cf136d2c | 7 | .\" %sccs.include.redist.man% |
f35cac8e | 8 | .\" |
cf136d2c | 9 | .\" @(#)echo.1 6.7 (Berkeley) %G% |
86a35ec6 | 10 | .Vx |
f35cac8e CL |
11 | .Dd |
12 | .Dt ECHO 1 | |
86a35ec6 | 13 | .Os |
f35cac8e CL |
14 | .Sh NAME |
15 | .Nm echo | |
16 | .Nd write arguments to the standard output | |
17 | .Sh SYNOPSIS | |
18 | .Nm echo | |
19 | .Op Fl n | |
20 | .Op string\& ... | |
21 | .Sh DESCRIPTION | |
5325ced3 CL |
22 | The |
23 | .Nm | |
6df676a5 KB |
24 | utility writes any specified operands (separated by single blank (`` '') |
25 | characters), followed by a newline (``\en'') character, to the standard | |
26 | output. | |
f35cac8e CL |
27 | .Pp |
28 | The following option is available: | |
5325ced3 | 29 | .Tw Ds |
f35cac8e | 30 | .Tp Fl n |
6df676a5 | 31 | Do not print the trailing newline character. |
f35cac8e CL |
32 | .Tp |
33 | .Pp | |
f35cac8e CL |
34 | .Nm Echo |
35 | utility exits 0 on success, and >0 if an error occurs. | |
6df676a5 KB |
36 | .Sh SEE ALSO |
37 | .Xr printf 1 | |
f35cac8e CL |
38 | .Sh STANDARDS |
39 | The | |
40 | .Nm echo | |
41 | function is expected to be POSIX 1003.2 compatible. |