Skip to content

Commit

Permalink
docs(grep): 📝 Simple invert grep example.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisguest75 committed Mar 21, 2024
1 parent a74c841 commit 4de90af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 51_grep_and_regex/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ grep -A 10 -B 10

# OR has to be escaped.
grep "continuity\|PID"

# inverting match
grep -v "lines not containing this string"
```

## Perl grep expressions
Expand Down

0 comments on commit 4de90af

Please sign in to comment.