* Bret Hughes ([EMAIL PROTECTED]) wrote:
> Good to know also.  I tried the cat /dev/null > logfile technique and
> while I did not loos any data there is about 4K or so of garbage at the
> begining of the logfile.  In less it shows up as all '@' (noquotes)
> symbols.
> 
> Does not look good for the cat  dev/null > technique.  I am going to use
> the logrotate any way but was hoping to learn something.  I guess I did,
> just not what I was hoping :-)
> 
> Thanks again
> 
> Bret

That shouldn't happen. Odd. Well, if that doesn't work, even simpler
is:

$ echo > logfile

Tom.
-- 
            .-------------------------------------------------------.
    .^.     | Tom Gilbert, England | [EMAIL PROTECTED] |
    /V\     |----------------------| www.tomgilbert.freeserve.co.uk |
   // \\    | Sites I recommend:   `--------------------------------|
  /(   )\   | www.freshmeat.net www.enlightenment.org slashdot.org  |
   ^^-^^    `-------------------------------------------------------'


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to