Re: regExp

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Juan (someone_at_microsoft.com)
Date: 01/11/05


Date: Tue, 11 Jan 2005 09:12:08 -0500

Gerry,

Your right about that. It is suppose to process line by line and not load
the array. But Mr. McKirhan took the time to write a nice little script
that can take care of the problem just as long as the log files are small.
If they grow big I will have to Monitor the log file and write another
routine to move the log file and start a new one.

Can you think of the RegExp I need to do the same as the script that was
provided.

Thank you all,

Juan

"Gerry Hickman" <gerry666uk@yahoo.co.uk> wrote in message
news:eFKMI029EHA.3592@TK2MSFTNGP09.phx.gbl...
> Juan wrote:
>
> > Fantastic,
> >
> > This works great.
>
> I don't like it, and I thought it was supposed to process "line by line"?
>
> --
> Gerry Hickman (London UK)



Relevant Pages

  • Re: Regex Questions please.
    ... Microsoft ASP/ASP.NET MVP ... "Juan" wrote in message ... > I have a script that reads a log file line by line. ...
    (microsoft.public.windows.server.scripting)
  • Re: unix shell script ignores exit when in function that is piped to tee
    ... > I thought calling a function within a script did NOT create sub-shells. ... is going to be able to alter the log file to cover up any inappropriate ... entry in the log to the previous entry. ... The easiest way to use crypt to ...
    (comp.unix.shell)
  • The necessity of Setting Objects to Nothing
    ... But what happens when you've got a script that is running as ... Dim Servers, List, strComputer ... Set Folder = objFSO.GetFolder ... '~~~ Write the results of the number of users query to a log file. ...
    (microsoft.public.scripting.vbscript)
  • Re: CSVDE Importing
    ... > specify the log file path via the -j option. ... CSVDE imports can only be used to create new users ... Unfortunately, the syntax is a bit more involved than a simple csv file, ... which makes it a little more difficult to manage its content via script. ...
    (microsoft.public.windows.server.scripting)
  • Re: CSVDE Importing
    ... > specify the log file path via the -j option. ... CSVDE imports can only be used to create new users ... Unfortunately, the syntax is a bit more involved than a simple csv file, ... which makes it a little more difficult to manage its content via script. ...
    (microsoft.public.windows.server.active_directory)