bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mini bug with option --exclude-dir


From: Khaled Ziyaeen
Subject: Mini bug with option --exclude-dir
Date: Thu, 6 Jun 2013 11:48:37 -0400

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

[Prev in Thread] Current Thread [Next in Thread]