Re: Time CHange Regulatr expression for 2am Crons ?

2002-10-25 Thread Paul Johnson
On Fri, Oct 25, 2002 at 01:53:17PM -0700, Matt Simonsen wrote: > On Fri, 2002-10-25 at 19:44, Scot wrote: > > Anybody figured out a good regular expression to match all > > 2am crons ? match 0,10,20,30,40,50 2 * * * and 0 2 * * * > > Wouldn't \S+\s2\s\S\s\S\s\S.* or something like that work? I

Re: Time CHange Regulatr expression for 2am Crons ?

2002-10-25 Thread Robert Citek
Hello Scot, At 07:44 PM 10/25/2002 -0700, Scot wrote: > Anybody figured out a good regular expression to match all >2am crons ? match 0,10,20,30,40,50 2 * * * and 0 2 * * * You can use automatic splitting: echo '0,10,20,30,40,50 2 * * *' | perl -wane 'print if $F[1] == 2 ;' or use awk:

Re: Time CHange Regulatr expression for 2am Crons ?

2002-10-25 Thread Matt Simonsen
On Fri, 2002-10-25 at 19:44, Scot wrote: > Anybody figured out a good regular expression to match all > 2am crons ? match 0,10,20,30,40,50 2 * * * and 0 2 * * * Wouldn't \S+\s2\s\S\s\S\s\S.* or something like that work? In other words, just search for 5 fields where the second one was "2" No

RE: Time change

2002-09-20 Thread Bob Showalter
> -Original Message- > From: Johnson, Fred [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 20, 2002 10:13 AM > To: [EMAIL PROTECTED] > Subject: Time change > > > Hello all, > I am working on a script to monitor the size of a > particular file and the time stamp of the file. M