Browse Source

MMO-19632:工具优化

wangyh 3 years ago
parent
commit
10b3cc5646
1 changed files with 7 additions and 0 deletions
  1. 7 0
      convert.sh

+ 7 - 0
convert.sh

@@ -13,3 +13,10 @@ do
 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