Path: utzoo!dciem!nrcaer!scs!spl1!laidbak!att!ihnp4!twitch!hoqax!bicker From: bicker@hoqax.UUCP (The Resource, Poet of Quality) Newsgroups: comp.sys.ibm.pc Subject: Re: Shell command question Message-ID: <1555@hoqax.UUCP> Date: 6 Jun 88 12:43:50 GMT Article-I.D.: hoqax.1555 References: <1102@cod.NOSC.MIL> <9301@iuvax.cs.indiana.edu> <22243@tis.llnl.gov> <1246@bingvaxu.cc.binghamton.edu> Organization: Semantic Engineering Center Lines: 21 In article <1246@bingvaxu.cc.binghamton.edu>, sullivan@marge.math.binghamton.edu.UUCP writes: | In article <540@etn-rad.UUCP> markus@etn-rad.UUCP (Markus N. Richardson) writes: | >bae@ati.tis.llnl.gov (Hwa Jin Bae) writes: | >>Regarding the "touch" command in previous posting (my autoexec.bat): | >> it's a small program that works like UNIX touch. | >> I'm sure you can easily write your own. | >> | > Hmm... how about "type nul > filename" <==> "touch filename" | > | This does a wonderful job of touching the file. It also truncates it | to length 0. It is therefore not quite equivalent to the usual "touch" | command. What you want is "type nul >> filename" but, as we all know is the general case, MS-DOS just can't match UN*X for power and versitility. -- /kohn/brian.c AT&T Bell Laboratories Semantic Engineering Center The Resource, Poet of Quality ...ihnp4!hoqam!bicker (201) 949-5850 "It is useless for sheep to pass resolutions in favor of vegetarianism while wolves remain of a different opinion." - Wm. Ralph Inge, D.D.