echo command always prints its arguments

Little Guy ronbe at tekred.UUCP
Wed Apr 10 06:49:03 AEST 1985


-> >	echo -q This creates an empty file >new.file
-> >
-> >Since, with csh, there is no longer an easy way to create an empty
-> >file.  (With sh one could type just ">new.file").
-> 
-> 	cp /dev/null new.file
-> 
-> works with either shell. :-)
-> 
-> 	Ken

What's wrong with echo -n "" > new.file   ???
-- 
Support bacteria - It's the only culture some people have!
	...tektronix!tekred!ronbe (Ron Bemis)



More information about the Comp.unix mailing list