beyondgrep / ack2

**ack 2 is no longer being maintained. ack 3 is the latest version.**
https://github.com/beyondgrep/ack3/
Other
1.48k stars 140 forks source link

search by filename only (not entire path) #336

Closed hoelzro closed 5 years ago

hoelzro commented 11 years ago

From https://github.com/petdance/ack/issues/192 by @suan

Say in my current directory there's:

somefolder/lala/somefile.txt
somefoler/lala.txt

It would be nice to have a flag that searches based on filename only, such that when I do ack -g -<new flag> lala

I'd only get back somefolder/lala.txt