Browse Source

charset format_xml.sh

robert 4 years ago
parent
commit
98ef2f7cbe
1 changed files with 1 additions and 0 deletions
  1. 1 0
      format_xml.sh

+ 1 - 0
format_xml.sh

@@ -18,6 +18,7 @@ git diff  --name-only  HEAD 策划脚本| grep '\.xml$'|xargs sed -b -i \
     -e '/<WorksheetOptions xmlns/,/<\/WorksheetOptions>/d' \
     -e '/^ *<Cell[ >]/s/ ss:StyleID="\w\+"//g' \
     -e '/^ *<Cell /,/<\/Cell>/s/ ss:StyleID="\w\+"//g' \
+    -e '/^ *<Table /,/<\/Table>/s/ x:CharSet="[0-9]\+"//g' \
     -e '/^ *<Row /s/\( ss:StyleID=\)"\w\+"/\1"s1"/g' \
     -e '/^ *<Split/d' 
 # /usr/bin/find  策划脚本 -name '*.xml' | xargs sed -b -i \