Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
asicsp
on Nov 30, 2023
|
parent
|
context
|
favorite
| on:
Ripgrep is faster than grep, ag, Git grep, ucg, pt...
If you don't mind using PCRE, you can do it. For example:
rg -P '(?=.*pat1)(?=.*pat2)(?=.*pat3)'
You could create a shell function shortcut if you need to use it often. But yeah, having it as a feature of the tool itself would be nice.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: