grep can look for a list of patterns written in a file with grep -f patterns_file search_files

Can ack read a list of patterns from a file?


No it can't, after looking at the features comparison

grep, git-grep and rg can do it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.