]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix parsing of CVS tag line. CVS expanded $id: in the regexp itself,
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 22 Mar 2001 16:58:48 +0000 (16:58 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 22 Mar 2001 16:58:48 +0000 (16:58 +0000)
so it did not match anything reasonable any more...

git-svn-id: https://svn.dealii.org/trunk@4259 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/tutorial/chapter-2.step-by-step/program2html

index 2ab49e6a67381665928b39d91b36086dc22c5128..acc61b5c1742f515c9f4fa8f4b215e4d2c68fbfa 100644 (file)
@@ -1,11 +1,11 @@
-# Copyright (C) 1999, 2000 by Wolfgang Bangerth, Univerisity of Heidelberg.de
+# Copyright (C) 1999, 2000, 2001 by Wolfgang Bangerth, Univerisity of Heidelberg.de
 
 print "<a name=\"CommProg\"></a>\n";
 print "<h1> The commented program</h1>\n";
 
-# ignore the first few lines
+# ignore cvs tag
 $_ = <>;
-while ( m!^//\*\s*\$Id$!) {
+while ( m!^/[/\*]\s*.Id:!) {
     $_ = <>;
 }
 
@@ -19,7 +19,7 @@ print "<p>\n";
 
 while (<>) {
     # ignore cvs tag
-    next if m!^//\*\s*\$Id:!;
+    next if m!^/[/\*]\s*.Id:!;
 
     # substitute special characters
     s/&/&amp;/g;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.