clear contents of a log file



hi list!

please help me with clearing the contents of a log file after reading
them into another file. so to prevent re-reading of duplicated data.

thank you

MOCX

.



Relevant Pages

  • Re: about sysclean from trend micro (Rusty & Marcy)
    ... 2005-01-12, 15:21:41, Could not set file for reading on ... you OS is clean based upon what Sysclean and Pattern File 335 could find. ... Just attach the LOG file here. ...
    (microsoft.public.security.virus)
  • Re: Novice::Help>Split IP Address(port) + count
    ... log file: What is the best combination of 'split' and regexes to do ... But the code you posted starts with opening and reading the file -- ... which is not your stated problem. ... dealing with printing the results of your line parsing to STDOUT -- ...
    (comp.lang.perl.misc)
  • Re: rebuffering an opened file
    ... > I am openeing a log file for processing (I need to look for certain ... > would like the file pointer to be positioned where i stopped reading. ... > to reread the file and thus see the changes. ...
    (comp.lang.c)
  • Re: data manipulation
    ... >> I have a log file i want to further manipulate, ... >> extract info from. ... I am new to Perl, and after reading, there are only 2 lines I don't clearly ... After reading the push function description from "learning Perl" I am ...
    (comp.lang.perl.misc)
  • Re: rebuffering an opened file
    ... > I am openeing a log file for processing (I need to look for certain ... > would like the file pointer to be positioned where i stopped reading. ... If it is so, when you finish reading the file for the first time, you ...
    (comp.lang.c)