Package: grep Version: 2.5.3~dfsg-6 Severity: normal File: /bin/egrep
Hello grep maintainer, This fails on both etch and sid, and the following bash-snippet should provoke it. Basically, the problem is that having a ')' inside a #-comment in a pattern file that is then included with `grep -f` causes an error... And that shouldn't be the case since there is typically no restrictions on the syntax of comments. :) echo -e "some_word$\n#No parenthesis in here )\nsome_other_word$" > pattern && cat pattern && grep -f pattern <<< "some_word" ; echo -e "some_word\n#No parenthesis in here \)\nsome_other_word$" > pattern && cat pattern && grep -f pattern <<< "some_word" The error/success case is reversed if `egrep` is used in place of `grep`. Regards, skrewz. -- System Information: Debian Release: 5.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages grep depends on: ii libc6 2.7-18 GNU C Library: Shared libraries grep recommends no packages. grep suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org