Hi,
Good day to all. I just want to ask if you have any idea.
The script that I want to accomplish is, grep a word in a log file from an excluded list which makes "grep -fv exclude.txt log.txt" a perfect choice, but I need to do it in perl because I also have windows servers.
I have been trying to convert it to perl but there is no luck. What I did was, I tried searching and I stumbled upon this link
http://www.perlmonks.org/?node_id=138288. After trying the code, the 1st code did not work and the 2nd code works but it only greps the exact line.
What I need to accomplish is, I need to grep a word like "error" or "warning", IP of a computer or a word that is in the exclude file.
Thank you in advance for your help.