bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] An Issue About --re-interval And --traditional


From: Yan Lei
Subject: Re: [bug-gawk] An Issue About --re-interval And --traditional
Date: Mon, 21 Jan 2013 09:02:54 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1

Hi,

My gawk version is GNU Awk 4.0.0

Thanks a lot.
Yan
On 01/20/2013 03:39 AM, address@hidden wrote:
Hi. What version of gawk are you using? (gawk --version).

Thanks,

Arnold

Yan Lei<address@hidden>  wrote:

Hi,

      I got some problem when using gawk with options --re-interval and
--traditional.
      As it is said on the gawk manpage, if --re-interval or -r is provided,
interval expressions in regular expression will be allowed, even if
--traditional or -c is provided. But when I tried the following command,
it did not run as expected:
      echo -e "aabbbc\naaabcc" | gawk --traditional -r '/b{2,}/'
      My expected output was aabbbc, but acturally, I got nothing. So please
kindly tell me if it was due to my command or the gawk itself.
      My environment is:
          Machine: x86_64
          OS: linux-gnu
          Compiler: gcc
          uname output: Linux RHEL7U0Alpha2-Intel64 3.3.0-0.20.el7.x86_64 #1
                        SMP Mon Jul 9 16:28:22 EDT 2012 x86_64 x86_64 x86_64 
GNU/Linux
          Machine Type: x86_64-redhat-linux-gnu

      Thanks a lot!

Best Regards.
Yan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]