Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Awk > Re: number of i...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 4 Topic 2233 of 2236
Post > Topic >>

Re: number of interval expression matches as argument

by paklet@[EMAIL PROTECTED] May 10, 2008 at 10:15 PM

Hi Ed,

thank you for your quick answer. :-)

On May 11, 12:33 pm, Ed Morton <mor...@[EMAIL PROTECTED]
> wrote:
> >       sub(/([A-Z]* *){num}/,"",string)
>         sub("([A-Z]* *){"num"}","",string)

Somehow I was believing that a regex in gawk has to be inside
of two `/=B4=B9

Looks like I have to do some more reading on regex... ;-)

Regards,
Sirko

=B9(http://www.gnu.org/software/gawk/manual/gawk.html#Regexp)




 4 Posts in Topic:
number of interval expression matches as argument
paklet@[EMAIL PROTECTED]   2008-05-10 20:07:44 
Re: number of interval expression matches as argument
Ed Morton <morton@[EMA  2008-05-10 22:33:25 
Re: number of interval expression matches as argument
paklet@[EMAIL PROTECTED]   2008-05-10 22:15:10 
Re: number of interval expression matches as argument
Ed Morton <morton@[EMA  2008-05-11 08:10:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri May 16 0:15:32 CDT 2008.