Package: grep Version: 2.6.3-3 Severity: normal --- Please enter the report below this line. ---
grep does not search in files in the current directory if an include pattern is given. Steps to reproduce: > mkdir test > echo "hello" > test/my_file.txt > grep -R --include="*.txt" hello test/ test/my_file.txt:hello > cd test/ > grep -R --include="*.txt" hello * > The last grep gives an empty search result, because it apparently does not search within the file my_file.txt in the current directory. Best regards Ben --- System information. --- Architecture: amd64 Kernel: Linux 2.6.32-5-amd64 Debian Release: 6.0.1 700 stable www.debian-multimedia.org 700 stable security.debian.org 700 stable ftp.uni-koeln.de 700 stable deb.opera.com 500 squeeze-updates ftp.debian.org --- Package information. --- Depends (Version) | Installed =============================-+-============= dpkg (>= 1.15.4) | 1.15.8.10 OR install-info | 4.13a.dfsg.1-6 Package's Recommends field is empty. Suggests (Version) | Installed =======================-+-=========== libpcre3 (>= 7.7) | 8.02-1.1 -- GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit gratis Handy-Flat! http://portal.gmx.net/de/go/dsl -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org