View Full Forums : Text Parser


Avendesoral
04-13-2004, 11:11 PM
Searching for a parser that will identify and then collate/export lines with those words to a seperate text file. Everything Ive found thus far has been for fights mostly.

Any help is appreciated, thanks!

Tiane
04-14-2004, 12:45 AM
grep !

Google it, there's hundreds!

Avendesoral
04-14-2004, 06:39 AM
...done or I wouldnt be asking here

Moonnie
04-15-2004, 09:35 AM
awk

Grygonos Thunderwulf
04-15-2004, 10:38 AM
awk.. pishaw.... perl. What are you wanting it to be able to do.. I've been wanting to write one for a while.. post your "requirements" and I'll work on writing one for you ( and me obviously)

iegil
04-15-2004, 11:17 AM
I always liked dinking with EQWatcher

Tiniane
04-16-2004, 08:34 AM
Try Wingrep - http://www.wingrep.com/

As long as you can structure a search to identify the lines you need, wingrep will search (on multiple files if you require), and present you will the results which can then be saved to a textfile.

Only midly irritating thing I've found with it is that when it saves the text file, it includes at the start of each line the line number from the original file - pretty easy to strip out though if you need.

Hugs,
Tiniane.

Avendesoral
04-18-2004, 07:53 AM
Thanks guys!
Specifically I just want a program that I can type words/phrases or name/s in for and will then take all lines out including that entry, extract and collate them to a seperate file organized by timestamp. Just an easy way to keep track of conversations with certain people. I have files extending back ~2 years when I started keeping log on full time so its several hundred megs worth of logging.

Grygonos Thunderwulf
04-19-2004, 09:17 AM
I'll start working on it... eqwatcher or something similar probably already does it.. but hey it'll be a fun little project

Avendesoral
04-19-2004, 11:19 PM
Cool stuff, thats awesome! Wingrep was pretty decent, thanks for that one. The one thing that its really lacking aside from inability to collate by timestamp is that theres no way to add all group chat while said person was in a group. Once "soandso" joins the group it would be nice to have all group text added to the file until "soandso" leaves, or the last person that you were searching in the case of multiple toon searches. Thanks again for the help!