Trumpcard
06-17-2002, 04:51 AM
Got this little sed script from Blue Adepts site, he uses it to remove character data from his spawnlogs. This is for use
on a linux/unix box. If you need it run against any files and do not have access to one, email me with the file, and I'll run it for you and send it back.. Or, send me a link where I can d/l it from, and I'll pass it back after parsing it for you.
His site is at
http://www27.brinkster.com/blueadept/
Here is a script to remove PC's, removed spawns, corpses, and warders from the spawnlog.txt files. Put the spawnlog.txt file and the filter.txt file in the same directory and type "sed -f filter.txt spawnlog.txt > tmp.txt ". (It may take a while for it to parse the file). When it is done, type "mv tmp.txt spawnlog.txt".
on a linux/unix box. If you need it run against any files and do not have access to one, email me with the file, and I'll run it for you and send it back.. Or, send me a link where I can d/l it from, and I'll pass it back after parsing it for you.
His site is at
http://www27.brinkster.com/blueadept/
Here is a script to remove PC's, removed spawns, corpses, and warders from the spawnlog.txt files. Put the spawnlog.txt file and the filter.txt file in the same directory and type "sed -f filter.txt spawnlog.txt > tmp.txt ". (It may take a while for it to parse the file). When it is done, type "mv tmp.txt spawnlog.txt".