petdance/ack — Issue #192: search by filename only (not entire path)
Author: suan
Created: 2011-11-02 23:05:16+00:00
State: open

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 - lala`

I'd only get back
`somefolder/lala.txt`