ECHO(1) General Commands Manual ECHO(1) NNAAMMEE eecchhoo – write arguments to the standard output SSYYNNOOPPSSIISS eecchhoo [--nn] [_s_t_r_i_n_g _._._.] DDEESSCCRRIIPPTTIIOONN The eecchhoo utility writes any specified operands, separated by single blank (‘ ’) characters and followed by a newline (‘\n’) character, to the standard output. The following option is available: --nn Do not print the trailing newline character. This may also be achieved by appending ‘\c’ to the end of the string, as is done by iBCS2 compatible systems. Note that this option as well as the effect of ‘\c’ are implementation-defined in IEEE Std 1003.1-2001 (“POSIX.1”) as amended by Cor. 1-2002. Applications aiming for maximum portability are strongly encouraged to use printf(1) to suppress the newline character. Some shells may provide a builtin eecchhoo command which is similar or identical to this utility. Most notably, the builtin eecchhoo in sh(1) does not accept the --nn option. Consult the builtin(1) manual page. EEXXIITT SSTTAATTUUSS The eecchhoo utility exits 0 on success, and >0 if an error occurs. SSEEEE AALLSSOO builtin(1), csh(1), printf(1), sh(1) SSTTAANNDDAARRDDSS The eecchhoo utility conforms to IEEE Std 1003.1-2001 (“POSIX.1”) as amended by Cor. 1-2002. macOS 13.5 April 12, 2003 macOS 13.5