RE: yet another regex question

2004-12-15 Thread Vadim Kazakov
What about using scriptdef. I've never used it, but maybe someone else on this list can advise how you can define a script using scriptdef to do this. -Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: December 14, 2004 8:55 AM To: ant_user (E-Mail) Subject: yet anot

RE: yet another regex question

2004-12-15 Thread Rebhan, Gilbert
PM To: Ant Users List Subject: RE: yet another regex question Gilbert, consider using cygwin on windows. Here are the awk and perl scipts called by bash to do this. I try it in Ant, but I am not yet so good at it. - To unsubscri

Re: yet another regex question

2004-12-14 Thread Gilbert Rebhan
Hi, RADEMAKERS Tanguy wrote: The power of awk and many other goodies: http://GnuWin32.sourceforge.net/ yup, i know ;-) but @work i've got to find a solution with ant built in features. So there must be a solution with grouping but i don't know the syntax. Gilbert ---

RE: yet another regex question

2004-12-14 Thread Nemana, Satya V
daemon:/var/spool/lpd:/bin/bash Perl found 2 lines -Satya -Original Message- From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 1:20 PM To: Ant Users List Subject: RE: yet another regex question The power of awk and many other goodies: http://GnuWin32.sourcefo

Re: yet another regex question

2004-12-14 Thread Gilbert Rebhan
Hi, Nemana, Satya V wrote: Gilbert, I wrote an awk script to do this in the past. I need to search for it now. Clue is to add 3 lines in the body of the awk. (line-1) use if statement and set a flag to 1 and "skip 1", if pattern1 matches with $0 and then (line-2) reset the flag to 0 and "skip 1", i

RE: yet another regex question

2004-12-14 Thread RADEMAKERS Tanguy
The power of awk and many other goodies: http://GnuWin32.sourceforge.net/ /t >-Original Message- >From: Gilbert Rebhan [mailto:[EMAIL PROTECTED] >Sent: Tuesday, December 14, 2004 6:30 PM >To: Ant Users List >Subject: Re: yet another regex question > >Hi, >

RE: yet another regex question

2004-12-14 Thread Nemana, Satya V
Gilbert, I wrote an awk script to do this in the past. I need to search for it now. Clue is to add 3 lines in the body of the awk. (line-1) use if statement and set a flag to 1 and "skip 1", if pattern1 matches with $0 and then (line-2) reset the flag to 0 and "skip 1", if the pattern2 matches with