Re: Search for a string

2003-02-04 Thread Jeremy Schwartz
[EMAIL PROTECTED]> > Date: Mon, 03 Feb 2003 16:39:08 -0600 > To: [EMAIL PROTECTED] > Cc: Jeremy Schwartz <[EMAIL PROTECTED]>, Andy Lester <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > Subject: Re: Search for a string > > also, check out split-logfile at > http://httpd

Re: Search for a string

2003-02-04 Thread wiggins
On Tue, 4 Feb 2003 00:14:30 -0900, "Dennis Stout" <[EMAIL PROTECTED]> wrote: > Sheesh. > > Wil ya'll just help a man with a perl problem instead of battering him with > other ways to do it? > At least one of these lists is a beginners list, the ot

Re: Search for a string

2003-02-04 Thread Dennis Stout
eloper > [EMAIL PROTECTED]954-761-1600 > > > From: [EMAIL PROTECTED] > > Date: Mon, 3 Feb 2003 12:32:05 -0600 > > To: "Jeremy Schwartz" <[EMAIL PROTECTED]>, "Andy Lester" <[EMAIL PROTECTED]> > > Cc: [EMAIL PROTECTED], [EMAIL PROT

Re: Search for a string

2003-02-04 Thread Ken Williams
On Monday, February 3, 2003, at 10:32 AM, [EMAIL PROTECTED] wrote: Something along the lines of: #!/bin/sh for dir in `ls -1 /webroot/`; do cat /var/log/httpd/access_log | grep "$dir" > /var/log/httpd/access_log_$dir done Tip - whenever 'cat' is the first command in a pipeline, it should

Re: Search for a string

2003-02-04 Thread Jeremy Schwartz
;[EMAIL PROTECTED]>, "Andy Lester" <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] > Subject: Re: Search for a string > > > > On Mon, 03 Feb 2003 13:09:47 -0500, Jeremy Schwartz <[EMAIL PROTECT

Re: Search for a string

2003-02-04 Thread Jeremy Schwartz
Interactive Developer [EMAIL PROTECTED]954-761-1600 > From: Andy Lester <[EMAIL PROTECTED]> > Date: Mon, 3 Feb 2003 11:59:33 -0600 > To: Jeremy Schwartz <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> > Subject: Re: Search for a string &

Re: Search for a string

2003-02-03 Thread wiggins
On Mon, 03 Feb 2003 13:09:47 -0500, Jeremy Schwartz <[EMAIL PROTECTED]> wrote: > Not trying to reinvent the wheel. > > I am using Analog for the analysis. > > I am trying to split the server combined log into individual vhost logs. I > can then r