mirror of https://github.com/CrimsonTome/tldr.git
ag: add Japanese translation (#9233)
parent
b3b3c8c46a
commit
005b4e6576
|
@ -0,0 +1,32 @@
|
|||
# ag
|
||||
|
||||
> Silver Searcher と呼ばれます。ack コマンドに似ていますが、より高速化を目指したコマンドです。
|
||||
> 詳しくはこちら: <https://github.com/ggreer/the_silver_searcher>.
|
||||
|
||||
- "foo"という文字列が含まれるファイルを検索し、コンテキスト内でマッチした行を出力する:
|
||||
|
||||
`ag {{foo}}`
|
||||
|
||||
- 特定のディレクトリ内で、"foo"という文字列が含まれるファイルを検索する:
|
||||
|
||||
`ag {{foo}} {{ディレクトリパス}}`
|
||||
|
||||
- "foo"という文字列が含まれるファイルの一覧をリストアップする:
|
||||
|
||||
`ag -l {{foo}}`
|
||||
|
||||
- 大文字と小文字を区別せずに、"FOO"という文字列が含まれるファイルを検索し、マッチした行のみ出力する:
|
||||
|
||||
`ag -i -o {{FOO}}`
|
||||
|
||||
- "bar"という名前にマッチするファイルから、"foo"という文字列を検索する:
|
||||
|
||||
`ag {{foo}} -G {{bar}}`
|
||||
|
||||
- 正規表現にマッチするコンテンツが含まれるファイルを検索する:
|
||||
|
||||
`ag '{{^ba(r|z)$}}'`
|
||||
|
||||
- ファイル名が "foo" に一致するファイルを検索する:
|
||||
|
||||
`ag -g {{foo}}`
|
Loading…
Reference in New Issue