emptying a file and keeping its ownership

Ray Shwake shwake at raysnec.UUCP
Thu Jan 3 02:01:19 AEST 1991


allbery at 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.



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