Hello,

I would like to report a bug in the implementation of the --exclude-dir
option in GNU grep 2.10 version.

If running > grep --exclude-dir "/hdd1/lib/udev/devices/" -r eads /hdd1

It will still examine /hdd1/lib/udev/devices.

However, if running > grep --exclude-dir "/hdd1/lib/udev/devices" -r eads
/hdd1

Then, that folder I wanted to include is actually ignored. I think that the
extra slash at the end, while unnecessary, must not break down the
---exclude-dir feature.

Happy to help fix the bug!

Best,

Khaled.

Reply via email to