r/programming • u/fagnerbrack • Sep 14 '26
Small Programming Tricks
https://will-keleher.com/posts/small-programming-tricks-matter/
179
Upvotes
r/programming • u/fagnerbrack • Sep 14 '26
View all comments
Show parent comment
7
u/Zversky Sep 15 '26
Yes, but to be fair,
grep exit **/*.pyis much faster to write thanfind . -type f -name '*.py' -exec grep -H exit {} \;. And the latter also includes dot-directories which I cannot remember how to ignore.