echo command always prints its arguments

Ed Hall edhall at randvax.UUCP
Thu Apr 11 05:36:21 AEST 1985


> > Since, with csh, there is no longer an easy way to create an empty

Since csh's built-in echo command doesn't output a newline unless it has
at least one argument, the following creates an empty file quite well:

	echo >empty.file

Of course, this means you ahve to give echo a null argument, at least,
if you really *wanted* a newline.

Yet another case of csh trying to be more ``useful'' by adding yet
another piddling feature.

		-Ed Hall
		decvax!randvax!edhall



More information about the Comp.unix mailing list