Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site enea.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!mcvax!enea!kim From: kim@enea.UUCP (Kim Walden) Newsgroups: net.unix Subject: Re: Creating a file in csh Message-ID: <860@enea.UUCP> Date: Thu, 18-Apr-85 18:43:24 EST Article-I.D.: enea.860 Posted: Thu Apr 18 18:43:24 1985 Date-Received: Sun, 21-Apr-85 03:33:26 EST References: <797@u1100a.UUCP> <254@tellab3.UUCP> <1581@ukma.UUCP> <1899@sdcrdcf.UUCP> <6177@Glacier.ARPA> Reply-To: kim@enea.UUCP (Kim Walden) Distribution: net Organization: ENEA DATA, Sweden Lines: 20 In article <6177@Glacier.ARPA> reid@Glacier.ARPA (Brian Reid) writes: >Aw, come on, folks. "touch filename" is the best way to create an empty file. >All of these other schemes, involving echo and cat and what have you, >require that the poor person reading the code stop and think about what is >going on, but the "touch" program will (by definition) do nothing other than >create it. >-- > Brian Reid decwrl!glacier!reid > Stanford reid@SU-Glacier.ARPA But "touch filename" does not create a zero length file, if the file existed before. Surely, this is what the discussion is all about? -- Kim Walden ENEA DATA Sweden UUCP: {seismo,decvax,philabs}!{mcvax,ukc,unido}!enea!kim ARPA: decvax!mcvax!enea!kim@berkeley.arpa mcvax!enea!kim@seismo.arpa