ECHO(1) | General Commands Manual | ECHO(1) |
echo
— write
arguments to standard output
echo |
[-Een ] [string...] |
echo
buffers all
string together with a final newline and then does a
single write to standard output. If there is no
string, only the newline is written.
The --
operand, which generally terminates
option processing, is treated as part of string.
-n
-E
-e
\0
’ writes the NULL byte, and
‘\01
’ writes a octet of value
1.The echo
utility exits 0 on
success, and >0 if an error occurs.
Should be compliant with the IEEE Std 1003.1-2024 (“POSIX.1”) specification.
Support for -e
and
-E
options was added in utils-std 0.0.3.
Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
October 31, 2024 | Linux |