1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-02 08:35:24 +02:00
This commit is contained in:
Managor 2025-07-01 13:49:29 +08:00 committed by GitHub
commit 7329106525
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,7 +21,7 @@
- Print 3 lines of [C]ontext around, [B]efore or [A]fter each match: - Print 3 lines of [C]ontext around, [B]efore or [A]fter 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: - Print file name and line number for each match with color output: