Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
burntsushi
on May 21, 2019
|
parent
|
context
|
favorite
| on:
Lsd: The next gen ls command
My sibling comment suggested --vimgrep, but that will print each match on its own line. For example:
$ echo foofoo | rg foo --vimgrep <stdin>:1:1:foofoo <stdin>:1:4:foofoo
What you want is probably `--no-heading`. You can add it to a config file or an alias if you always want it enabled:
https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md#c...
apples_oranges
on May 22, 2019
[–]
that's it, thank you!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: