This is a bit of a tough question.
I'm currently grepping through a lot of proxy logs for particular malware related strings. The proxy logs are currently compressed in gzip files and using the command line to analyze through proxy logs.
gzip.exe -v -c -d C:\logs\regex.gz | perl ack.pl -i -h "stringtosearchfor" > output.txt
Ultimately, I'm researching a way to just take an entire input.txt file to grep with. I've found other means using BASH. I'm also restricted to the Windows CLI at the moment. There is also another option of using Cygwin. Although, I'm not sure how the formatting should be. I'm also concerned about performance since I'd like to grep for about 100-500 lines of entries.
Does anyone have a suggestion?
THANKS!