O
Owen Jacobson
<pedantic>
'find' is definitely a must in the programmer toolbox, but there's a
little gotcha that I wanted to bring up here;
It's generally better to use the
{grep <pattern> `find <path> -name <filename-pattern> -print`}
Beware of tokenizing issues with this kind of command. Consider:
~/spacecase $ touch a\ b
~/spacecase $ touch c
~/spacecase $ find .
.
./a b
./c
~/spacecase $ touch `find . -print` # using touch to illustrate
problem
~/spacecase $ find .
.
./a
./a b
./b
./c
This is probably a more common issue on Mac OS, where spaces are
normal, than on solaris, where spaces are supported but unusual.
-o