mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-08 09:57:29 +00:00
Update cheatsheets
This commit is contained in:
8
tldr/rg
8
tldr/rg
@@ -17,6 +17,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`rg {{pattern}} {{path/to/file_or_directory}}`
|
||||
|
||||
- Search for a literal string pattern:
|
||||
|
||||
`rg {{[-F|--fixed-strings]}} -- {{string}}`
|
||||
|
||||
- Include hidden files and entries listed in `.gitignore`:
|
||||
|
||||
`rg {{[-.|--hidden]}} --no-ignore {{pattern}}`
|
||||
@@ -36,7 +40,3 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- Show lines that do not match the pattern:
|
||||
|
||||
`rg {{[-v|--invert-match]}} {{pattern}}`
|
||||
|
||||
- Search for a literal string pattern:
|
||||
|
||||
`rg {{[-F|--fixed-strings]}} -- {{string}}`
|
||||
|
||||
Reference in New Issue
Block a user