mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 15:55:26 +02:00
grep: with-match (#16480)
* grep: with-match --------- Co-authored-by: Fazle Arefin <fazlearefin@users.noreply.github.com>
This commit is contained in:
parent
f523972d1c
commit
9f8b804998
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
|
||||
- Search for a pattern in all files recursively in a directory, showing line numbers of matches, ignoring binary files:
|
||||
|
||||
`grep {{[-r|--recursive]}} {{[-n|--line-number]}} --binary-files {{without-match}} "{{search_pattern}}" {{path/to/directory}}`
|
||||
`grep {{[-r|--recursive]}} {{[-n|--line-number]}} {{[-I|--binary-files=without-match]}} "{{search_pattern}}" {{path/to/directory}}`
|
||||
|
||||
- Use extended regular expressions (supports `?`, `+`, `{}`, `()`, and `|`), in case-insensitive mode:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue