Public bug reported:

Binary package hint: gawk

Using gawk 3.1.4 I tried to make a simple script:
ls -ld /tmp/ | awk '/^.{4}r/{print "TEST"}'
On a computer that has read permissions on /tmp.
And I got no output.
When doing it the same without the interval:
ls -ld /tmp/ | awk '/^....r/{print "TEST"}' 
I received the correct output.
This script worked on an IBM AIX 6.1 machine, i.e. it printed TEST.
Using Karmic.

** Affects: gawk (Ubuntu)
     Importance: Undecided
         Status: New

-- 
gawk fails to parse regular expressions with an interval
https://bugs.launchpad.net/bugs/502027
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to