3 ms·
Wouldn't you have the same problem with fd if you invoke it on unquoted globs? The problem is the semantics of the shell, not find.
by kragen 7y ago
Wouldn't you have the same problem with fd if you invoke it on unquoted globs? The problem is the semantics of the shell, not find.
- wffurr 7y agoYes, but fd has implicit pattern matching without requiring the * character: Features: Convenient syntax: fd PATTERN instead of find -iname '*PATTERN*'
- pwdisswordfish2 7y agoSeems a misfeature. Much of the time, I use find to look for files with a specific extension, which makes the trailing asterisk harmful.
- johnp_ 7y agofd -e py Also neatly bypasses the glob issue.