1

Topic: zchaos

can you guys give me a zChaos config?

2 (edited by unsigned char* 2015-10-03 04:31:36)

Re: zchaos

Can use...

~$ grep -Poza "^sv_.+" <tw_server_binary>

3

Re: zchaos

unsigned char* wrote:

Can use...

~$ grep -Poza "^sv_.+" <tw_server_binary>

Wow, neat command!

EDIT: It might be safer to search for `sv_.+` though, without the `^`, because I don't think it's guaranteed that there's a NUL before every string literal.

4 (edited by unsigned char* 2015-10-03 23:34:43)

Re: zchaos

heinrich5991 wrote:
unsigned char* wrote:

Can use...

~$ grep -Poza "^sv_.+" <tw_server_binary>

Wow, neat command!

EDIT: It might be safer to search for `sv_.+` though, without the `^`, because I don't think it's guaranteed that there's a NUL before every string literal.

True! xDD but best if not include descriptions...

grep -Poza "sv_[^\s]+" <tw_server_binary>

*** Ummm this repeat some commands.,..

wink



EDIT: Ok finally i think that this is the best way... xD

grep -Poza "sv_[\w\d]+" <tw_server_binary> | sort | uniq