News for hackers. Stuff that matters.
Re:Ack 2.0 has been released by cpeterso on Friday April 19, 2013 @03:26PM (#5578280)
I had never heard of The Silver Searcher. Thanks! A test search of a huge codebase (Firefox) took 38 seconds with ack, but only 17 with ag! After my page cache had been warmed up, ack then took 10 seconds and ag only took 3. That said, I am using ack 1.96, not ack 2.0.

  $ brew uninstall ack
Re:Ack 2.0 has been released by petdance on Friday April 19, 2013 @03:32PM (#5578304)
It's OK to have two similar tools in your toolbox. When you need the --output option, for example, you use ack. When you want crazy speed, you use ag.

You don't have to choose one over the other. That's why I changed the name from "betterthangrep.com" to "beyondgrep.com". There's no need to have a ranking of "I use this over that."

Re:Ack 2.0 has been released by __david__ on Friday April 19, 2013 @04:17PM (#5578496)
Ah, you Perl guys and your "there's more than one way to do it". :-) Disclaimer: I'm a Perl guy and I agree.
Re:Ack 2.0 has been released by petdance on Friday April 19, 2013 @03:33PM (#5578307)
Also, take a look at http://beyondgrep.com/more-tools/. There are a dozen other tools on there as well that you might well like as much as ack and ag.

An abundance of tools is good.

Re:Ack 2.0 has been released by jdhore on Friday April 19, 2013 @04:53PM (#5578661)
I've contributed to ag and followed it quite closely. That being said, I still have ack on all my systems because sometimes, being able to just do:

ack --python search-term is REALLY useful.

Re:Ack 2.0 has been released by lloeki on Saturday April 20, 2013 @04:13AM (#5580754)
Turning things around, I often have SQL dumps around, so ack --no-sql is a real lifesaver in my Rails (i.e ruby, coffee, less, shell and whatnot) projects.