Jonathan Nieder <jrnie...@gmail.com> writes:
>> Wouldn't it be sufficient to start digging not from "*" but from
> Gah, the * was supposed to be . in my examples (though it doesn't
>> find ??* \( -name Documentation -o -name .\?\* \) -prune -o -name \*.h
> Heh. Yeah, that would work. ;-)
Continuing useless discussion...
Actually as you are not excluding CVS, RCS, etc., and using ??* as
the starting point will exclude .git, .hg, etc. at the top, I think
we can shorten it even further and say
find ??* -name Documentation -prune -o -name \*.h
...and time to go back to something more serious and practical.
Don't we want to exclude contrib/ by the way?
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html