$ ack -g smtp
$ ack -g SMTP
$ ack -g SMTP -i
This last case with -g -i should find smtptunnel as a filename.
@petdance I'm looking through the test case for -g; how does this apply to -G?
Oh, man, now I remember about this. Does the -i apply to the -g or to the main regex? Bleh.
I think we might have to get rid of -G
The way I see it, we have several options:
3 strikes me as inconsistent, and 4 strikes me as overly complicated. 2 favors backwards compatibility, and 1 might make some people angry. I'll ask ack-users.
Discussion about this feature on ack-users: https://groups.google.com/forum/?fromgroups#!topic/ack-users/V4wofiX6A4E
I'm thinking -I is the way to go.
-G is gone. fb45c46