I use command ":>file.log" to truncate file.log to zero length. I got it from the internet, but I do not understand how it works. I think that it copies some stream to a file, but I can't manage to find in manual which stream it uses.
migrated from stackoverflow.com Jun 24 '10 at 9:46
The command isn't
From my local
You may even forget the
It should produce the same result.