recursive grep
William A. Turnbow
williamt at athena1.Sun.COM
Wed Aug 23 06:18:35 AEST 1989
Here is a short quicky (I hope). I am trying to do the following:
find . -type d -exec grep string {}/* \;
However, find apparently does not expand the braces unless they are
separated by spaces. I've tried a variety of quotes and backslashes,
but no go.
I've always ended up writing a tiny shell script in the past to do this,
but there's got to be some easy way I'm missing.
email is fine...
Thanks
-wat-
More information about the Comp.unix.wizards
mailing list