|
@@ -17,6 +17,12 @@ git diff --name-only HEAD 策划脚本| grep '\.xml$'|xargs sed -b -i \
|
|
|
-e '/<ConditionalFormatting xmlns/,/<\/ConditionalFormatting>/d' \
|
|
|
-e '/<WorksheetOptions xmlns/,/<\/WorksheetOptions>/d' \
|
|
|
-e '/^ *<Split/d'
|
|
|
+
|
|
|
+git diff --name-only HEAD 策划脚本| grep '\.xml$'|xargs sed -b -i \
|
|
|
+ -e '/^ *<\/Table>/a<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">'\
|
|
|
+'<Unsynced\/> <FrozenNoSplit\/> <SplitHorizontal>3<\/SplitHorizontal> <TopRowBottomPane>3<\/TopRowBottomPane> <SplitVertical>1<\/SplitVertical>'\
|
|
|
+'<LeftColumnRightPane>1<\/LeftColumnRightPane> <ActivePane>0<\/ActivePane>'\
|
|
|
+'<\/WorksheetOptions>'
|
|
|
|
|
|
|
|
|
git diff --name-only HEAD 策划脚本| grep '\.xml$'| while read n ;
|