qgrep should default to searching multiple arguments anywhere in a file. Reproducible: Always Steps to Reproduce: Run `grep cmake-utils swig` Actual Results: No result is found Expected Results: qgrep should search for both search terms in the file such as: grep -rl 'cmake-utils' --include '*.ebuild' /usr/portage | xargs grep -l 'swig'
Ok, I see what you want, but grep doesn't support this behaviour either. Instead, it allows you to use alternatives in your regex argument, e.g. grep -E '(a|b)'. Since qgrep supports regexes, you can just do the same. In your scenario: qgrep -x '(cmake-utils|swig)'