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