emptying a file and keeping its ownership

mike at bria.UUCP mike at bria.UUCP
Wed Jan 9 17:20:26 AEST 1991


In article <MJOHNSTO.91Jan7113152 at admin8780.shearson.com> 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 ..."



More information about the Comp.unix.xenix.sco mailing list