Creating a file in csh

Dave Shimell shimell at stc-a.UUCP
Sat Apr 20 15:20:50 AEST 1985


> > >	echo -q This creates an empty file >new.file
>
>To contribute to this silly discussion, the most portable way
>to create an empty file is:
>	touch "Empty file"

	Actually, Jaap, this does not work on IS/1 (Version 6 PWB).
	I presume this is also the case with other V6 systems.

	Best is:
		cat /dev/null > "Empty file".

Regards,
Dave Shimell.
shimell at stc-a.UUCP
{root44, ukc, idec, stl, creed, stc-[bcdf]}!stc-a!shimell
-- 

Regards,
Dave Shimell.
shimell at stc-a.UUCP
{root44, ukc, idec, stl, creed, stc-[bcdf]}!stc-a!shimell



More information about the Comp.unix mailing list