]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Filter out copyright notices fro example programs.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 7 Jan 2002 09:43:23 +0000 (09:43 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 7 Jan 2002 09:43:23 +0000 (09:43 +0000)
git-svn-id: https://svn.dealii.org/trunk@5348 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 0b7cc35b5ea623402e613ea13121ce00ba22903b..7d80541ba49dc7deeaae09e318b1ff1781419649 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1999, 2000, 2001 by Wolfgang Bangerth, Univerisity of Heidelberg.de
+# Copyright (C) 1999, 2000, 2001, 2002 by Wolfgang Bangerth, University of Heidelberg
 
 print "<a name=\"CommProg\"></a>\n";
 print "<h1> The commented program</h1>\n";
@@ -6,7 +6,7 @@ print "<h1> The commented program</h1>\n";
 # ignore comments at the start of the program. this includes CVS
 # tags and copyright notices.
 $_ = <>;
-while ( m!^/[/\*]!) {
+while ( m!^/[/\*]!  ||  m/^$/ ) {
     $_ = <>;
 }
 
index 09f2ccb7e1515693d51cf1a5c7b761a4cbb611b3..18e34b3d2ff064a6119856cd4a9ef8e831267271 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright (C) 1999, 2000, 2001 by Wolfgang Bangerth, Univerisity of Heidelberg.de
+# Copyright (C) 1999, 2000, 2001, 2002 by Wolfgang Bangerth, University of Heidelberg
 
 # ignore comments at the start of the program. this includes CVS
 # tags and copyright notices.
 $_ = <>;
-while ( m!^/[/\*]!) {
+while ( m!^/[/\*]!  ||  m/^$/ ) {
     $_ = <>;
 }
 

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.