Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!feeder.erje.net!ecngs!feeder2.ecngs.de!zen.net.uk!hamilton.zen.co.uk!shaftesbury.zen.co.uk.POSTED!not-for-mail Newsgroups: comp.lang.awk From: Geoff Clare Subject: Re: Regular expression in awk References: <4e09d4fd-8351-45f0-8f17-b6ac0d32e19a@l18g2000yql.googlegroups.com> <02482113-48f0-4690-b20c-98f906b1cd51@w7g2000yqe.googlegroups.com> User-Agent: XPN/1.2.6 (Street Spirit ; Linux) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Fri, 8 Apr 2011 13:18:09 +0100 Message-ID: <11b378-vho.ln1@leafnode-msgid.gclare.org.uk> Lines: 20 Organization: Zen Internet NNTP-Posting-Host: e3def000.news.zen.co.uk X-Trace: DXC=\Zc[d=`<[U\lmDmddMoV?Znok4Z\ Geoff Clare 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