From 4936fe32cb992011409ffbaf356333fdb64d6ab7 Mon Sep 17 00:00:00 2001 From: Miro Jurisic Date: Thu, 30 Jul 1998 16:15:29 +0000 Subject: [PATCH] Fixed to punt "# TEMPLATE BEGINS HERE" git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10762 dc483132-0cff-0310-8789-dd5450dbe970 --- src/mac/Templatify.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; } -- 2.26.2