Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site mcvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!mcvax!jaap From: jaap@mcvax.UUCP (Jaap Akkerhuis) Newsgroups: net.unix,net.bugs Subject: Re: Creating a file in csh Message-ID: <603@mcvax.UUCP> Date: Mon, 15-Apr-85 00:21:51 EST Article-I.D.: mcvax.603 Posted: Mon Apr 15 00:21:51 1985 Date-Received: Wed, 17-Apr-85 01:28:02 EST References: <797@u1100a.UUCP> <254@tellab3.UUCP> <1581@ukma.UUCP> <1899@sdcrdcf.UUCP> Reply-To: jaap@mcvax.UUCP (Jaap Akkerhuis) Organization: CWI, Amsterdam Lines: 16 Xref: watmath net.unix:4258 net.bugs:614 In article <1899@sdcrdcf.UUCP> faigin@sdcrdcf.UUCP (Daniel Faigin) writes: > In article <1581@ukma.UUCP> david@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"). > > > > Actually, the easiest way to create an empty file in csh is: > cat < /dev/null > newfile > To contribute to this silly discussion, the most portable way to create an empty file is: touch "Empty file"