export LANG=zh_CN.UTF-8@cjknarrow unset LC_ALL ./生成多语言CSV.exe rm 工具库文件/client_csv_config/cnT/* || echo ok cp 工具库文件/client_csv_config/cnS/*.csv 工具库文件/client_csv_config/cnT/ mv 工具库文件/client_csv_config/extLangWords.csv /tmp/ mv 工具库文件/client_csv_config/*.csv 工具库文件/client_csv_config/cnT/ find 工具库文件/client_csv_config/cnT/ -name '*.csv' | while read n do echo $n bin/opencc -i "$n" -o "$n" -c bin/s2twp.json done mv /tmp/extLangWords.csv 工具库文件/client_csv_config/cnT/ find 工具库文件/client_csv_config/cnT/ -name '*.csv' | while read n do echo $n sed -i '1d' "$n" sort -n -o "$n" "$n" sed -i '1iKey,Value' "$n" done