Hi,

It seems --exclude does nothing when --include is used. It would be useful
to be able to use both together, in order to do things such as recusively
grepping files of a certain file extension while excluding certain
directories.

Example:
$ grep --recursive --include="*.cs" --exclude="*/tests/*"

Reply via email to