beyondgrep / ack2

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

Add --also-in-file functionality #347

Closed hoelzro closed 7 years ago

hoelzro commented 11 years ago

https://github.com/petdance/ack/issues/153

Sounds like a use for the -x option.

petdance commented 11 years ago

Currently, yes, we do ack -l foo | ack -x bar to find all files that have both foo and bar in them.

I like the idea of --also-in-file because it's such a common thing it seems like it would make sense to streamline it.

petdance commented 7 years ago

Closed and moved to feature requests wiki page.