Y
Hacker News
new
|
ask
|
show
|
jobs
by
soveran
4724 days ago
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.