News for hackers. Stuff that matters.
Re:The History of the Design of Unix’s Find Command (1995) by untothebreach on Friday October 02, 2015 @11:10AM (#10319023)
I have found it helpful to learn small parts of the `find` api a bit at a time. For example, instead of `find ./ -print | grep "name_of_file"`, I use `find ./ -name "name_of_file"` or `find ./ -name '* name_of_file *"` (without the spaces -- I can't seem to surround text with asterisks without it triggering HNs formatting (yes I tried escaping them)) if you want to fuzzily search for a filename. You can replace `-name` with `-iname` if you want your search to be case-insensitive.

There are no comments on this comment yet.