Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bria!mike Newsgroups: comp.unix.xenix.sco Subject: Re: emptying a file and keeping its ownership Message-ID: <337@bria> Date: 9 Jan 91 06:20:26 GMT References: <1990Dec31.214030.7816@athena.mit.edu> <1991Jan1.040621.27634@NCoast.ORG> <187@raysnec.UUCP> <4597@sactoh0.SAC.CA.US> Reply-To: mike@bria.UUCP (Michael Stefanik) Distribution: na Organization: Briareus Corporation, Los Angeles, CA Lines: 20 In article admin8780.shearson.com!mjohnsto (Mike Johnston) writes: : :Isn't it silly to spend all this time developing rediculously long solutions :to a simple problem when: : : :touch $FILENAME : : :would suffice? Bzzzzt. Touch only creates a file if it doesn't already exist; it certainly does NOT empty files. Normally, it'll just change the modification timestamp for the file. -- Michael Stefanik, Systems Engineer (JOAT), Briareus Corporation UUCP: ...!uunet!bria!mike -- technoignorami (tek'no-ig'no-ram`i) a group of individuals that are constantly found to be saying things like "Well, it works on my DOS machine ..."