rgRipgrep,一款遞迴的行導向搜尋工具。 旨在成為
grep的更快替代品。 更多資訊:https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md。
regex):rg {{模式}}
rg {{模式}} {{路徑/至/檔案或目錄}}
rg {{[-F|--fixed-strings]}} -- {{字串}}
.gitignore 中列出的條目:rg {{[-.|--hidden]}} --no-ignore {{模式}}
README.*):rg {{模式}} {{[-g|--glob]}} {{檔名萬用字元模式}}
rg --files | rg {{模式}}
rg {{[-l|--files-with-matches]}} {{模式}}
rg {{[-v|--invert-match]}} {{模式}}