News for hackers. Stuff that matters.
Re:Feature comparison of ack, ag, git-grep, GNU grep and rip... by okdana on Monday January 08, 2018 @12:09PM (#16098132)
You can achieve that in almost any of these tools (including old-school grep) by matching against something with zero width, like this:

  grep '^|.*PLUGH.*'
Re:Feature comparison of ack, ag, git-grep, GNU grep and rip... by petepete on Monday January 08, 2018 @04:37PM (#16100848)
You could do that.

Or you could just use --passthrough. It's easy to remember, easy to type, it autocompletes, it doesn't interfere with your criteria.