From: wolf Date: Mon, 7 Jan 2002 09:43:23 +0000 (+0000) Subject: Filter out copyright notices fro example programs. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=623129d56af493d7092916f40bb2f211cf727441;p=dealii-svn.git Filter out copyright notices fro example programs. git-svn-id: https://svn.dealii.org/trunk@5348 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/program2html b/deal.II/doc/tutorial/chapter-2.step-by-step/program2html index 0b7cc35b5e..7d80541ba4 100644 --- a/deal.II/doc/tutorial/chapter-2.step-by-step/program2html +++ b/deal.II/doc/tutorial/chapter-2.step-by-step/program2html @@ -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 "\n"; print "

The commented program

\n"; @@ -6,7 +6,7 @@ print "

The commented program

\n"; # ignore comments at the start of the program. this includes CVS # tags and copyright notices. $_ = <>; -while ( m!^/[/\*]!) { +while ( m!^/[/\*]! || m/^$/ ) { $_ = <>; } diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/program2plain b/deal.II/doc/tutorial/chapter-2.step-by-step/program2plain index 09f2ccb7e1..18e34b3d2f 100644 --- a/deal.II/doc/tutorial/chapter-2.step-by-step/program2plain +++ b/deal.II/doc/tutorial/chapter-2.step-by-step/program2plain @@ -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/^$/ ) { $_ = <>; }