From c6bc28f60d0a1071b4eeaf787eda4f88822dc238 Mon Sep 17 00:00:00 2001 From: fukachan Date: Sun, 18 Feb 2001 06:22:44 +0000 Subject: utils to check templates in modules --- regress/simulation/.check | 10 ++++++++++ regress/simulation/.fix_my_name.pl | 6 ++++++ 2 files changed, 16 insertions(+) create mode 100755 regress/simulation/.check create mode 100755 regress/simulation/.fix_my_name.pl diff --git a/regress/simulation/.check b/regress/simulation/.check new file mode 100755 index 00000000..973992a1 --- /dev/null +++ b/regress/simulation/.check @@ -0,0 +1,10 @@ +#!/bin/sh + +tmp=/tmp/buffer$$ +trap "rm -f $tmp" 0 1 3 15 + +find ../../ -type f -print |\ +egrep -v 'cpan|CVS|regress|__template|\.ps$' > $tmp + +egrep '__[A-Z]' `cat $tmp`|\ +egrep -v '__FILE__|__END__|__DATA__' diff --git a/regress/simulation/.fix_my_name.pl b/regress/simulation/.fix_my_name.pl new file mode 100755 index 00000000..de71e463 --- /dev/null +++ b/regress/simulation/.fix_my_name.pl @@ -0,0 +1,6 @@ +while (<>) { + + s/__YOUR_NAME__/Ken'ichi Fukamachi/; + +print; +} -- cgit v1.2.1