Public bug reported: Binary package hint: grep
grep 2.5.4-4 on Karmic amd64 According to the manual page: {,m} The preceding item is matched at most m times. But: a...@ike:~$ echo 23:45.67 | grep '[0-9]\{,2\}:[0-9]\{2\}\.[0-9]\{2\}' grep: malformed repeat count a...@ike:~$ echo 23:45.67 | grep '[0-9]\{0,2\}:[0-9]\{2\}\.[0-9]\{2\}' 23:45.67 a...@ike:~$ With -E, the bug is still there, but reported differently: a...@ike:~$ echo 23:45.67 | grep -E '[0-9]{,2}:[0-9]{2}\.[0-9]{2}' a...@ike:~$ echo 23:45.67 | grep -E '[0-9]{0,2}:[0-9]{2}\.[0-9]{2}' 23:45.67 a...@ike:~$ I have used {,m} often enough in the past. I don't think it was broken in Intrepid or Debian Etch. ProblemType: Bug Architecture: amd64 Date: Mon Oct 26 18:57:30 2009 DistroRelease: Ubuntu 9.10 NonfreeKernelModules: nvidia Package: grep 2.5.4-4 ProcEnviron: PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.31-14.48-generic SourcePackage: grep Uname: Linux 2.6.31-14-generic x86_64 ** Affects: grep (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug -- grep {,m} construction gives error: "malformed repeat count" https://bugs.launchpad.net/bugs/460985 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