by djeikyb · 12y ago · 0 comments
ack --java "foo"
while with ag you write: ag -G"\.java$" "foo"
But yes, ack and ag feel pretty identical except for the speed. Most of the time the speed improvement is irrelevant to me, except sometimes now I'll use ag in my home folder, and it's still fairly snappy.(I've never needed to use the rackup "rack" command directly, fortunately, if you do you ought to use a different alias)