Live data from Hacker News

Feature comparison of ack, ag, git-grep, GNU grep and ripgrep

beyondgrep.com

1–10 of 101 posts

Re: Feature comparison of ack, ag, git-grep, GNU grep and ripgrep

#3
as a long time user of `find . -name "*.foo" -exec grep -Hin {} \;` moving to ack has been great! I love the syntax and the speed and the fact that it actually respects your ignore files. ripgrep is great too. ag on the other hand is recommended by everyone but doesn't seem to respect ignores or understand modern ignore syntax. give it a pass.

https://github.com/ggreer/the_silver_searcher/issues/385

its been over 4 years... its had its chance.

Re: Feature comparison of ack, ag, git-grep, GNU grep and ripgrep

#4
post #3

as a long time user of `find . -name "*.foo" -exec grep -Hin {} \;` moving to ack has been great! I love the syntax and the speed and the fact that it actually respects your ignore files. ripgrep is great too. ag on the other hand is recommended by everyone but doesn't seem to respect ignores or understand modern ignore syntax. give it a pass. https://github.com/ggreer/the_silver_searcher/issues/385 its been over 4 y…

I love ag for one purpose: as a lightning quick “find other instances of the currently highlighted word” helper for Emacs. It’s great for that.

Re: Feature comparison of ack, ag, git-grep, GNU grep and ripgrep

#6
post #2

Not exactly sure what it is, but I really like this presentation format. Thank you, have been trying to motivate myself to switch to ack/ag for a while. This seems like it might be what I needed.

Good use of color as well as a visual reference for when the tools share a feature. I agree it's a good presentation.

As for search, I'm on Windows and I like to use FileLocator Pro.

Re: Feature comparison of ack, ag, git-grep, GNU grep and ripgrep

#9
I’m stuck with rg right now because it’s the only ine which correctly handles gitignore files. Generally quite happy with it but I wish it could also use a more powerful regex engine for some less common cases.

Most annoying thing is that $ does not work with windows newlines.

Post reply on HN