forked from metin2/server
1
0
Fork 0
server/gamefiles/locale/english/quest/extractKeys.sh

10 lines
196 B
Bash

#!/bin/bash
if [ "$1" == "-c" ]; then
param="-c"
fi
(sed -n 's/\.\./#/g;s/gameforg[.a-z0-9_]\+/\
(&)\
/gp' *.quest | sed -n 's/(\(gameforge[.a-z0-9_]\+\))/\1/p') | sort | uniq $param | sort -n