> I'm not comfortable with truncating the original file either. What I
> would like to do is get the latest data, see what's not in the main
> file, and append it.
I'm reading this sentence as a set of requirements. Assuming that the
arrays are small enough to not blow out the RAM on the machine,
Walter Kruse wrote:
> Anyway, as I said, off topic so don't worry too much - this solves a
> sort-term problem.
>
Just to be clear. I don't consider this line of questions to be off
topic. Yes technically they are Ruby questions rather than Watir
questions, but the are welcome on this forum.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris McMahon
Sent: 16 April 2007 06:11 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] [OT] - array nightmare
> The new array replaces all the data previously in the master log file.
I get
&g
> The new array replaces all the data previously in the master log file. I get
> a lot of redundant whitespace for some reason. It really is a hack – there
> must be a better way to do it…
>
I'm not sure what the expected result here should be. Seems like a
reasonable approach. What part is the
Hi list
Off topic, but I am sure there is a better way to do what I'm doing.
As my test script runs, I have a script which reads the windows event
log every 5 minutes and produces three flat files with the output
according to different criteria. The way I read the logs is with
Microsoft's dump