News for hackers. Stuff that matters.
Re:Ripgrep 11 Released by loeg on Monday April 15, 2019 @10:12PM (#19670585)
ack and ag (the_silver_searcher) are two distinct tools. The latter automatically excludes .gitignored and binary files, just like ripgrep. In fact, it seems ag inspired ripgrep's behavior; in the blog post[0] introducing Ripgrep, BurntSushi specifically highlights that rg aims for the usability of ag:

> I will introduce a new command line search tool, ripgrep, that combines the usability of The Silver Searcher [ag] …

[0]: https://blog.burntsushi.net/ripgrep/

Re:Ripgrep 11 Released by coldtea on Tuesday April 16, 2019 @04:24AM (#19672021)
>ack and ag (the_silver_searcher) are two distinct tools. The latter automatically excludes .gitignored and binary files, just like ripgrep.

Only I've never been able to make ag (or pt, another similar too) respect .gitignored and other such settings as good as rg does out of the box. Plus it's slower.

Re:Ripgrep 11 Released by loeg on Tuesday April 16, 2019 @02:56PM (#19676280)
Yes, I believe BurntSushi specifically highlights better .gitignore support in the (long) blog post I linked.
Re:Ripgrep 11 Released by minusf on Tuesday April 16, 2019 @02:14AM (#19671505)
both of these are slower than rg. ag has issues with big files, it's unreliable.
Re:Ripgrep 11 Released by zwp on Tuesday April 16, 2019 @02:49AM (#19671638)
I've not used ag but just a small shout out for ack: it's a single Perl file (easy to install, v1.x will work with even antique Perl), it works on weird hardware/OS (no compilation required), it contains its own man-page (ack -man) and is fast enough for typical sysadmin tasks and moderate size codebases.

(Ack also supports the full PCRE syntax but that's less of an issue now rg has -P).

If your work takes you to minority platforms ack is certainly worth keeping in your toolbox.

Re:Ripgrep 11 Released by hwj on Wednesday April 17, 2019 @07:56AM (#19681717)
What file sizes did you have issues with?

I'm using ag inside my source directories and cannot remember it not doing the job.

Re:Ripgrep 11 Released by sqs on Monday April 15, 2019 @11:29PM (#19670908)
Thanks, did not know that!