From: Miro Jurisic Date: Thu, 30 Jul 1998 16:15:29 +0000 (+0000) Subject: Fixed to punt "# TEMPLATE BEGINS HERE" X-Git-Tag: krb5-1.1-beta1~611 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4936fe32cb992011409ffbaf356333fdb64d6ab7;p=krb5.git Fixed to punt "# TEMPLATE BEGINS HERE" git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10762 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/mac/Templatify.pl b/src/mac/Templatify.pl index 3a76f4ef3..0749fadeb 100644 --- a/src/mac/Templatify.pl +++ b/src/mac/Templatify.pl @@ -1,3 +1,5 @@ #!/usr/local/bin/perl -w -while () { last if /^# TEMPLATE BEGINS HERE$/ } -do { y#\245:\304\266#\*/:\\#; print } while (); +$_=; +$_= while $_!~/^#\s*TEMPLATE BEGINS HERE\s*$/; +$_= while /^# *TEMPLATE BEGINS HERE\s*$/; +while () { y#\245:\304\266#\*/:\\#; print; }