From 623129d56af493d7092916f40bb2f211cf727441 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 7 Jan 2002 09:43:23 +0000 Subject: [PATCH] Filter out copyright notices fro example programs. git-svn-id: https://svn.dealii.org/trunk@5348 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/tutorial/chapter-2.step-by-step/program2html | 4 ++-- deal.II/doc/tutorial/chapter-2.step-by-step/program2plain | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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/^$/ ) { $_ = <>; } -- 2.39.5