0
votes
1answer
48 views

Look for many different strings in many different log files?

I have a list of files that have gone missing somewhere in our system at work. I also have a folder full of 41 log files adding up to 46 MB that hopefully have log entries pertaining to the missing ...
0
votes
2answers
1k views

How to grep multiple strings on multiple files?

I am trying to grep multiple strings on multiple files. This is on Windows 7 x64, and I am using GNUWin32's flavor. I have grep.bat with this command: grep "string1\|string2\|string3\|string4" ...
5
votes
1answer
661 views

What does the grep switch --color=auto do?

What effect does auto as an option for the --color switch have in grep? When does grep decide to color the the matching strings, and when doesn't it?
-1
votes
2answers
923 views

Getting this simple regular expression to match in grep

I want to match a quote, 2, a space, and any character that is not a literal dot. This is using GnuWin32 grep. Not Cygwin's grep. C:\>echo "2 008abc.html" | grep -oiP \"2 [^.] grep: [^.]': No ...
2
votes
1answer
878 views

grep on Windows XP vs. Windows 7

I am using grep from Gnuwin32 on Windows. On Windows XP, the following grep -e "foo" NUL results in the following output grep: NUL: invalid argument On Windows 7, the same arguments result in ...