Browse Source

format_xml.sh

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

+ 1 - 1
format_xml.sh

@@ -22,7 +22,7 @@ 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>'
+'\n<\/WorksheetOptions>'
 
 # /usr/bin/find  策划脚本 -name '*.xml' | while read n;
 git diff  --name-only  HEAD 策划脚本| grep '\.xml$'| while read n ;