echo -n

Arthur David Olson ado at elsie.UUCP
Sat Jan 12 14:20:06 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'".

For portability fans:
	echo args | tr -d "\012"
--
UNIX is an AT&T Bell Laboratories trademark.
--
	..decvax!seismo!elsie!ado	(country code 1)(301) 496-5688
	DEC, VAX and Elsie are Digital Equipment and Borden trademarks



More information about the Comp.unix mailing list