Igor Pechtchanski wrote:
- you changed the "cd $dir && find ." to "find $dir" in some places, which I'd be more comfortable changing as a separate step, if at all
Oooh, I missed that one.
cd $dir && find . ---> bar.c baz.h find $dir ---> $dir/bar.c $dir/baz.h
Not good unless the results are then filtered to remove the path component, or you're sure that the extra path info doesn't affect behavior.
-- Chuck