News for hackers. Stuff that matters.
Re:Beyond grep: ack, a code search tool for programmers by soveran on Saturday July 20, 2013 @12:17PM (#6075582)
Not quite what you want, but you can restrict the search to filenames matching certain pattern with the -G option. For example, ag <pattern> -G \.c will only search on C files.

There are no comments on this comment yet.