Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54162 - sandbox/committee/LWG/cd_status
From: bdawes_at_[hidden]
Date: 2009-06-21 20:13:38


Author: bemandawes
Date: 2009-06-21 20:13:38 EDT (Sun, 21 Jun 2009)
New Revision: 54162
URL: http://svn.boost.org/trac/boost/changeset/54162

Log:
Rewrite for robustness
Text files modified:
   sandbox/committee/LWG/cd_status/add_issue_numbers.bat | 24 ++++++++----------------
   1 files changed, 8 insertions(+), 16 deletions(-)

Modified: sandbox/committee/LWG/cd_status/add_issue_numbers.bat
==============================================================================
--- sandbox/committee/LWG/cd_status/add_issue_numbers.bat (original)
+++ sandbox/committee/LWG/cd_status/add_issue_numbers.bat 2009-06-21 20:13:38 EDT (Sun, 21 Jun 2009)
@@ -1,23 +1,15 @@
-grep " Response to " lwg-active.html >i1
+grep -E "(<p><b>Addresses )|(name=)" lwg-active.html >i1
+change i1 "\r\n<p><b>Addresses " "$"
+grep "\$" <i1 >i2
 
-np++ i1
+np++ i2
 
-sed --file=generate.sed <i1 >temp.sed
+sed --file=generate.sed <i2 >temp.sed
 
-copy /y comments.xml temp1.xml
+del comments.xml.bak 2>nul
+ren comments.xml comments.xml.bak
 
-change temp1.xml "\n nb=\q" " nb=\q"
-change temp1.xml "\n num=\q" " num=\q"
-change temp1.xml "\n uknum=\q" " uknum=\q"
-change temp1.xml "\n type=\q" " type=\q"
-change temp1.xml "\n owner=\q" " owner=\q"
-change temp1.xml "\n issue=\q" " issue=\q"
-change temp1.xml "\n disp=\q" " disp=\q"
-change temp1.xml "\n date=\q" " date=\q"
-change temp1.xml "\n extdoc=\q" " extdoc=\q"
-change temp1.xml "\n>\n<section>" ">\n<section>"
-
-sed --file=temp.sed <temp1.xml >comments_with_numbers.xml
+sed --file=temp.sed <comments.xml.bak >comments.xml
 
 
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk