mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-18 02:00:57 +00:00
Update cheatsheets
This commit is contained in:
@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Print 3 lines of context around, before, or after each match:
|
||||
|
||||
`grep --{{context|before-context|after-context}} {{3}} "{{search_pattern}}" {{path/to/file}}`
|
||||
`grep --{{context|before-context|after-context}} 3 "{{search_pattern}}" {{path/to/file}}`
|
||||
|
||||
- Print file name and line number for each match with color output:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user