echo.1 (999B)
- .\" utils-std: Collection of commonly available Unix tools
- .\" Copyright 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
- .\" SPDX-License-Identifier: MPL-2.0
- .Dd 2024-03-18
- .Dt ECHO 1
- .Os
- .Sh NAME
- .Nm echo
- .Nd write arguments to standard output
- .Sh SYNOPSIS
- .Nm
- .Op Fl n
- .Op Ar string...
- .Sh DESCRIPTION
- .Nm
- buffers all
- .Ar string
- together with a final newline and then does a single write to standard output.
- If there is no
- .Ar string ,
- only the newline is written.
- .Pp
- The
- .Fl -
- operand, which generally terminates option processing, is treated as part of
- .Ar string .
- .Sh OPTIONS
- .Bl -tag -width Ds
- .It Fl n
- Do not print the trailing newline character.
- .El
- .Sh EXIT STATUS
- .Ex -std
- .Sh SEE ALSO
- .Xr printf 1
- .Sh STANDARDS
- Not XSI-compliant as
- .Fl n
- is parsed as an option and backslash operators aren't supported.
- Should be compliant with the rest of the
- IEEE Std 1003.1-2024 (“POSIX.1”)
- specification.
- .Sh AUTHORS
- .An Haelwenn (lanodan) Monnier Aq Mt contact+utils@hacktivis.me