m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/ag.md
blob: 34172f46283c57620db12b99edd42d90257dd3de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# The Silver Searcher

## Print context

    ag -B <before_lines> -A <after_lines> 

## Ignore directories

    ag --ignore <pattern>

## Only files matching regex

    ag -G <pattern>