hfxiang 当前离线
上尉
gawk -v"FS=\042" "BEGIN{OFS=\"\t\";print \"NPCID\taggro\"}/^[\t ]*<npc id=/,/^[\t ]*<\/npc>$/{if(/^[\t ]*<npc id=/)A=$2;if(/aggro/)print A,$12}" *.xml>sour.csv复制代码
TOP