Training scripts
David Relson
relson at osagesoftware.com
Wed Jan 28 03:47:48 CET 2004
On Tue, 27 Jan 2004 20:10:35 -0500
Matej Cepl wrote:
> On Tuesday 27 of January 2004 16:50, Boris 'pi' Piwinger wrote:
> > >Make file empty (zero length).
> >
> > OK, so just `touch filename`.
>
> As far as I am aware, touch never touches a content of the file.
>
> Matej
A good way to empty a file is: "cat /dev/null > file". The file
retains its attributes (owner and group and permissions) and the length
becomes zero.
More information about the Bogofilter
mailing list