3 ms·
I've been using it for the past week (on my mac, homebrew is such a joy to use most of the time) and I absolutely love it. Before this I often had to type grep
by aktau 14y ago
I've been using it for the past week (on my mac, homebrew is such a joy to use most of the time) and I absolutely love it. Before this I often had to type grep -lir "somestring" *, to recursively search in a project. Which would be often slow (reading huge binary files, ...) and is a handful to type. Admittedly I could've made an alias, but then I still would've had the binary file problem.
Now I can do
ag "somestring"
And out comes beautifully colorized output in the blink of an eye telling me where and what. In short it comes with sane defaults for code searching and is faster than grep, what's not to like?
I fruitlessly tried ack once before and it never worked out for me, but this is staying in my toolbox.
The silver searcher, would recommend.