Groups | Search | Server Info | Login | Register


Groups > comp.lang.awk > #140

Re: Regular expression in awk

Newsgroups comp.lang.awk
From Geoff Clare <geoff@clare.See-My-Signature.invalid>
Subject Re: Regular expression in awk
References <4e09d4fd-8351-45f0-8f17-b6ac0d32e19a@l18g2000yql.googlegroups.com> <ini7kr$410$1@news.m-online.net> <02482113-48f0-4690-b20c-98f906b1cd51@w7g2000yqe.googlegroups.com> <qjn078-7j2.ln1@leafnode-msgid.gclare.org.uk> <inkeb1$2pi$1@tornado.tornevall.net>
Date 2011-04-08 13:18 +0100
Message-ID <11b378-vho.ln1@leafnode-msgid.gclare.org.uk> (permalink)
Organization Zen Internet

Show all headers | View raw


Aharon Robbins wrote:

> Geoff Clare  <geoff@clare.See-My-Signature.invalid> wrote:
>>The ERE equivalent of the BRE you used with grep is:
>>
>>PV1|([^|]*|){16}|X
>
> It may be that awk on AIX does not support interval expressions
> (x{16}); this should be tested too.

They are required by the POSIX/UNIX standard, and AIX is certified
as conforming.

I suppose it's possible that they are not supported by default in
awk and you need to do something to set up a conforming environment,
but I think that's unlikely.

-- 
Geoff Clare <netnews@gclare.org.uk>

Back to comp.lang.awk | Previous | NextPrevious in thread | Find similar


Thread

Regular expression in awk gio001 <gcrippa@gmail.com> - 2011-04-06 07:40 -0700
  Re: Regular expression in awk pk <pk@pk.invalid> - 2011-04-06 16:01 +0100
  Re: Regular expression in awk Janis Papanagnou <janis_papanagnou@hotmail.com> - 2011-04-06 19:24 +0200
    Re: Regular expression in awk Manuel Collado <m.collado@domain.invalid> - 2011-04-06 21:07 +0200
    Re: Regular expression in awk gio001 <gcrippa@gmail.com> - 2011-04-06 12:25 -0700
      Re: Regular expression in awk Janis Papanagnou <janis_papanagnou@hotmail.com> - 2011-04-06 23:09 +0200
        Re: Regular expression in awk gio001 <gcrippa@gmail.com> - 2011-04-06 19:59 -0700
          Re: Regular expression in awk Loki Harfagr <l0k1@thedarkdesign.free.fr.INVALID> - 2011-04-07 07:32 +0000
            Re: Regular expression in awk gio001 <gcrippa@gmail.com> - 2011-04-07 05:06 -0700
              Re: Regular expression in awk Loki Harfagr <l0k1@thedarkdesign.free.fr.INVALID> - 2011-04-07 13:34 +0000
                Re: Regular expression in awk gio001 <gcrippa@gmail.com> - 2011-04-07 08:27 -0700
                Re: Regular expression in awk Loki Harfagr <l0k1@thedarkdesign.free.fr.INVALID> - 2011-04-07 18:32 +0000
      Re: Regular expression in awk Geoff Clare <geoff@clare.See-My-Signature.invalid> - 2011-04-07 13:34 +0100
        Re: Regular expression in awk arnold@skeeve.com (Aharon Robbins) - 2011-04-07 13:31 +0000
          Re: Regular expression in awk Geoff Clare <geoff@clare.See-My-Signature.invalid> - 2011-04-08 13:18 +0100

csiph-web