|ECHO(1)||General Commands Manual||ECHO(1)|
echoutility writes any specified operands, separated by single blank (‘ ’) characters and followed by a newline (‘\n’) character, to the standard output. When no operands are given, only the newline is written. The -- operand, which generally denotes an end to option processing, is treated as part of string. The options are as follows:
echoutility exits 0 on success, and >0 if an error occurs. csh(1), ksh(1), printf(1)
echoutility is compliant with the IEEE Std 1003.1-2008 (“POSIX.1”) specification. The flag [
echodoes not support any of the backslash character sequences mandated by XSI.
echoalso exists as a built-in to csh(1) and ksh(1), though with a different syntax. Where portability is paramount, use printf(1).
echoutility appeared in Version 2 AT&T UNIX.
|August 16, 2016||OpenBSD-6.1|