3 ms·
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:foofo
by burntsushi 7y ago
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#configuration-file https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md#c...
- apples_oranges 7y agothat's it, thank you!