Package: grep
Version: 2.5.1.ds1-4
Severity: normal

The following commands should return the same, but the first two do
not work as expected.

$ echo "baab" | grep -o "a*"
$ echo "baab" | grep -o "a\{0,2\}"
$ echo "baab" | grep -o "a\{1,2\}"
aa


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (600, 'unstable'), (570, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages grep depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an

-- no debconf information

-- 
Philipp Weis    [EMAIL PROTECTED]    http://pweis.com/

Attachment: signature.asc
Description: Digital signature

Reply via email to