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: arnold
Subject: Re: [bug-gawk] An Issue About --re-interval And --traditional
Date: Sat, 19 Jan 2013 12:39:32 -0700
User-agent: Heirloom mailx 12.4 7/29/08

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]