1
vote
3answers
44 views

Is there anything grep does better than ack? [closed]

I started using ack a while ago and it's amazing, but still begs the question: Is there anything grep still does better than ack? Or maybe is there something grep does that ack can't do?
1
vote
1answer
37 views

Ack doesn't seem to use its whitelist

I have ack 2.04 and it searches not only files in its whitelist but everything - logs, text, tags. $ echo 'needle' | tee haystack.txt haystack haystack.log $ ack needle haystack 1:needle ...
11
votes
3answers
5k views

How to use ack to search for file name

I have started using ack which is much faster than grep. However using ack I want to search for file name rather than file contents. Is there a way to do that?