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 | .\" |
28c11414 CL |
7 | .\" %sccs.include.redist.roff% |
8 | .\" | |
9 | .\" @(#)echo.1 6.8 (Berkeley) %G% | |
f35cac8e CL |
10 | .\" |
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 | |
28c11414 | 20 | .Op "string ..." |
f35cac8e | 21 | .Sh DESCRIPTION |
5325ced3 | 22 | The |
28c11414 CL |
23 | .Nm echo |
24 | utility writes any specified operands, separated by single blank (`` '') | |
25 | characters) and followed by a newline (``\en'') character, to the standard | |
6df676a5 | 26 | output. |
f35cac8e CL |
27 | .Pp |
28 | The following option is available: | |
28c11414 CL |
29 | .Bl -tag -width flag |
30 | .It Fl n | |
6df676a5 | 31 | Do not print the trailing newline character. |
28c11414 | 32 | .El |
f35cac8e | 33 | .Pp |
28c11414 CL |
34 | The |
35 | .Nm echo | |
f35cac8e | 36 | utility exits 0 on success, and >0 if an error occurs. |
6df676a5 KB |
37 | .Sh SEE ALSO |
38 | .Xr printf 1 | |
f35cac8e CL |
39 | .Sh STANDARDS |
40 | The | |
41 | .Nm echo | |
28c11414 CL |
42 | utility is expected to be |
43 | .St -p1003.2 | |
44 | compatible. |