Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
qsera
43 days ago
|
parent
|
context
|
favorite
| on:
Ripgrep is faster than grep, ag, git grep, ucg, pt...
True, but easier said than done, because one often need to work in more shells than their local machines..
pie_flavor
43 days ago
|
next
[–]
This is a nonstandard tool. If you can't customize your machine, you already don't have it.
qsera
43 days ago
|
parent
|
next
[–]
But it could be one day..
worksonmine
43 days ago
|
prev
[–]
Do something like this to fall back to plain grep. You will somehow have to share these configurations across machines though.
alias g=grep command -v rg 2>&1/dev/null && alias g=rg
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: