KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
grep egrep multiple-strings
Asked 2009-10-03T20:06:00.903
▲
19
▼
Suppose I have several strings: str1 and str2 and str3.
How to find lines that have all the strings?
How to find lines that can have any of them?
And how to find lines that have str1 and either of str2 and str3 [
but not both?
]?
regex
grep
Copy Link
Twitter
Facebook
LinkedIn
Share
Edit
Save
Report
Add comment
0 Answers
Your Answer
Post Your Answer