Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sdcrdcf.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!sdcsvax!sdcrdcf!faigin From: faigin@sdcrdcf.UUCP (Daniel Faigin) Newsgroups: net.unix,net.bugs Subject: Creating a file in csh Message-ID: <1899@sdcrdcf.UUCP> Date: Tue, 9-Apr-85 11:42:16 EST Article-I.D.: sdcrdcf.1899 Posted: Tue Apr 9 11:42:16 1985 Date-Received: Sat, 13-Apr-85 04:21:36 EST References: <797@u1100a.UUCP> <254@tellab3.UUCP> <1581@ukma.UUCP> Reply-To: faigin@sdcrdcf.UUCP (Daniel Faigin) Organization: System Development Corp. R+D, Santa Monica Lines: 21 Xref: watmath net.unix:4221 net.bugs:603 Summary: 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 Daniel -- UUCP: {akgua allegra ihnp4 hplabs sdcsvax trwrb cbosgd}!sdcrdcf!faigin ARPA: sdcrdcf!faigin@UCLA-CS.ARPA W: SDC, 2500 Colorado MD 52-46; Santa Monica CA 90406; (213) 820-4111 x6493 H: 11743 Darlington Avenue #9; Los Angeles CA 90049; (213) 826-3357 It is easier to change the specification to fit the program than vice-versa. -- A. J. Perlis, SIGPLAN 17:9 Sept 1982