Rog said:

that's why breadth-first might be useful, by putting
shallower files earlier in the search results - i often
do grep foo *.[ch] */*.[ch] */*/*.[ch] to achieve
a similar result, but you have to guess the depth that way.

for what it's worth, dan's walk.c has a -d option for limiting search
depth. it's not breadth-first, but is still nice.


Reply via email to