cleaning out files
Stijn Hoop
stijn at win.tue.nl
Fri Apr 4 02:40:03 PST 2003
On Fri, Apr 04, 2003 at 12:27:46PM +0200, CARTER Anthony wrote:
> How do I clean the contents of text files without actually removing the files?
$ echo -n > $FILE
Works for me, there are various other ways. You will end up with a 0-byte
file, is that what you mean by 'cleaning'?
--Stijn
--
I really hate this damned machine
I wish that they would sell it.
It never does quite what I want
But only what I tell it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030404/e3472151/attachment.bin
More information about the freebsd-questions
mailing list