echo command always prints its arguments

Ken Yap ken at rochester.UUCP
Mon Apr 8 02:20:37 AEST 1985


In article <1581 at ukma.UUCP> david at ukma.UUCP (David Herron, NPR Lover) writes:
>	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
-- 
UUCP: ..!{allegra,decvax,seismo}!rochester!ken ARPA: ken at rochester.arpa
USnail:	Dept. of Comp. Sci., U. of Rochester, NY 14627. Voice: Ken!



More information about the Comp.unix mailing list