Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site drusd.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!ahuta!drutx!drusd!lrd From: lrd@drusd.UUCP (L. R. DuBroff) Newsgroups: net.unix,net.bugs Subject: Re: Creating a file in csh Message-ID: <1302@drusd.UUCP> Date: Fri, 19-Apr-85 17:15:18 EST Article-I.D.: drusd.1302 Posted: Fri Apr 19 17:15:18 1985 Date-Received: Sat, 20-Apr-85 07:06:54 EST References: <797@u1100a.UUCP> <254@tellab3.UUCP> <1581@ukma.UUCP> <1899@sdcrdcf.UUCP> <6177@Glacier.ARPA> <4854@ucla-cs.ARPA> Organization: LAI -- The UNIX(tm) people Lines: 15 Xref: watmath net.unix:4286 net.bugs:623 It has been noted by many respondents that "touch filename" will not create an empty file if filename exists. Touch(1) has another "gotcha!", at least in all UNIX(tm) systems that I have used. You may say "touch [-amc] [time_date] filename", where time_date is a numerical string that indicates the time and date to which you want to reset the access or modification (default) time of the file (-c prevents file creation if filename did not exist). Thus, "touch 12345" will NOT create an empty file named 12345, but will instead return: date: bad conversion In order to use touch to create an empty file named 12345, you need to say: "touch ./12345"