1234567891011121314151617 |
- export LANG=zh_CN.UTF-8@cjknarrow
- #git diff --name-only HEAD 策划脚本| grep '\.xml$'|xargs sed -b -i \
- /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' \
- -e '/^ *<\(Last\)*Author>/d' \
- -e '/^ *<TopRowVisible/d' \
- -e '/^ *<LastSaved/d' \
- -e '/^ *<LeftColumnVisible/d' \
- -e '/<Panes>/,/<\/Panes>/d' \
- -e '/<ConditionalFormatting xmlns/,/<\/ConditionalFormatting>/d' \
- -e '/<WorksheetOptions xmlns/,/<\/WorksheetOptions>/d' \
- -e '/^ *<Split/d'
|