I would like to remove unwanted lines from my text file had certain words. i have use grep -v like this
grep -v 'error|fault|unkownn' input.txt > out.txt
it’s working with one word but not on multiple words. did i miss anything?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
|is only treated as a a regex character whengrepis working in extended regex mode. So you need to do one of the following: