Add highlight instruction

This commit is contained in:
Jean-Claude 2023-11-26 14:11:59 +01:00
parent 73a765e9c3
commit d1ac9a7781
Signed by: jeanclaude
GPG Key ID: 8A300F57CBB9F63E
1 changed files with 7 additions and 0 deletions

7
grep.md Normal file
View File

@ -0,0 +1,7 @@
# Grep
- Highlight all matches while showing all text: `grep --color '<TERM>\|$'`
- `|` is OR
- `\` is escape
- `$` matches everything that has a new line