echo -n

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Fri Jan 11 04:01:15 AEST 1985


> 	Can someone out there tell me what echo -n does since my UNIX 5.0
> 	version does not support this option.

"echo -n args" is the 7th Edition UNIX way of obtaining the same
function that in UNIX System V looks like: "echo 'args\c'".  There
is no good reason for the System V "echo" not also supporting the
7th Edition -n option; our SVR2 Bourne shell has been modified to
do just that.  (By the way, "echo" has no business being a shell
built-in, but that's life.)



More information about the Comp.unix mailing list