Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!wb3ffv!ka3ovk!raysnec!shwake From: shwake@raysnec.UUCP (Ray Shwake) Newsgroups: comp.unix.xenix.sco Subject: Re: emptying a file and keeping its ownership Message-ID: <187@raysnec.UUCP> Date: 2 Jan 91 15:01:19 GMT References: <1990Dec30.220722.29050@jarvis.csri.toronto.edu> <1990Dec31.214030.7816@athena.mit.edu> <1991Jan1.040621.27634@NCoast.ORG> Distribution: na Organization: IRS/CI - Technical Solutions Branch Lines: 7 allbery@NCoast.ORG (Brandon S. Allbery KB8JRR) writes: > % echo > file > % ls -s file > 0 file Not quite. On the systems I know, echo outputs a new line character. Thus your ostensibly zero'ed file would have a size of 1 byte.