Browse Source

表格格式化工具

wangyh 4 years ago
parent
commit
bdb0199482
2 changed files with 4 additions and 0 deletions
  1. 1 0
      .gitignore
  2. 3 0
      format_xml.sh

+ 1 - 0
.gitignore

@@ -1,2 +1,3 @@
 lua/
 excelToJson.txt
+json/

+ 3 - 0
format_xml.sh

@@ -0,0 +1,3 @@
+/usr/bin/find  策划脚本 -name '*.xml' | xargs sed -b -i -e '/^ *<Active\(Sheet\|Row\|Col\)>/d' -e '/^ *<\(TopRowBottom\|LeftColumnRight\)Pane>/d' -e '/^ *<Selected\/>/d' -e '/^ *<Window\(Height\|Width\|TopX\|TopY\)>/d' 
+
+