From: Winnipeg, MB
In which reports are you finding these messages?
Combat report and combat events. They always appear in both.
Thanks. It seems like I simply have an untypical primary test data set in that respect. Well, OK! It seems the only way I can tell which wide the "Wiped Out" messages belong to is to look them up in a database.
I've been searching with other methods but it seems the problem is those messages for Allied don't appear in the batches of reports I have looked at so far.
The good thing with grep is that is works with batches of files.
You might be interested in AWK, too, which is a full-fledged language for processing text files, and searching for patterns in them. In fact, I suspect all the data loading part of your tool could be one big AWK script.
I am using regular expressions (you know but for some others reading this: regular expressions are part of what make awk and grep so powerful) inside my code as Python has a very robust re module in the standard library. I've used awk and grep a little bit but it's a while since I had the Windows versions installed. They are very powerful tools.
Awk?? Grep??? What's wrong with good old fashioned Grok??
< Message edited by BBfanboy -- 9/26/2017 5:39:07 AM >
No matter how bad a situation is, you can always make it worse. - Chris Hadfield : An Astronaut's Guide To Life On Earth