On 25 Oct 2001, at 1:55, accident wrote:

> I such with regexp, I remember a day or 2 ago someone posted a message
> with a quick sed for converting.. Anyone happen to have it..?

for cheater.log:

sed -e 's/^[^ ]* [^ ]* "[^"]*" (\([0-9]*\)).*$/\1/' cheater.log | sort | uniq

for cvar.log

sed -e 's/^[^ ]* [^ ]* [^ ]* [^ ]* [^ ]* "[^"]*" (\([0-9]*\)).*$/\1/' cvar.log | sort | uniq

(depending on wrapping, both are one line )

Note: My brother wrote these, I still regard sed as voodoo
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Reply via email to