Answers for "grep group match"

0

grep Matching options

-e, --regexp=PATTERN
-f, --file=FILE
-i, --ignore-case
-v, --invert-match
-w, --word-regexp
-x, --line-regexp
Posted by: Guest on November-18-2021
-1

grep or match

$ grep "PATTERN1|PATTERN2" FILE
$ grep -E "PATTERN1|PATTERN2" FILE
$ grep -e PATTERN1 -e PATTERN2 FILE
$ egrep "PATTERN1|PATTERN2" FILE
Posted by: Guest on April-12-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language