Xref: utzoo comp.unix.xenix.sco:1215 comp.unix.shell:1158 Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!bionet!ames!mindcraft.com!karish From: karish@mindcraft.com (Chuck Karish) Newsgroups: comp.unix.xenix.sco,comp.unix.shell Subject: Re: emptying a file and keeping its ownership Message-ID: <662619687.4441@mindcraft.com> Date: 31 Dec 90 05:01:25 GMT References: <1990Dec30.220722.29050@jarvis.csri.toronto.edu> Distribution: na Organization: Mindcraft, Inc. Lines: 13 In article <1990Dec30.220722.29050@jarvis.csri.toronto.edu> ckchee@dgp.toronto.edu (Chuan Chee) writes: |I have SCO Xenix 2.2.3. What's the easiest way to "empty" a file |while keeping its ownership (owner,group) and access permissions the |same? Actually I only care about permissions (rw-rw-rw). > $FILE A redirect with no input truncates the file under Bourne shell. -- Chuck Karish karish@mindcraft.com Mindcraft, Inc. (415) 323-9000