summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-02-18 06:22:44 +0000
committerfukachan <fukachan>2001-02-18 06:22:44 +0000
commitc6bc28f60d0a1071b4eeaf787eda4f88822dc238 (patch)
tree0d0a66b8cc5cbbd933dceb25334b3e0fb6d80a96
parentdcd9a6e435142bc984654dee11a7b67f8ab60010 (diff)
downloadfml8-c6bc28f60d0a1071b4eeaf787eda4f88822dc238.tar.gz
fml8-c6bc28f60d0a1071b4eeaf787eda4f88822dc238.tar.bz2
fml8-c6bc28f60d0a1071b4eeaf787eda4f88822dc238.zip
utils to check templates in modules
-rwxr-xr-xregress/simulation/.check10
-rwxr-xr-xregress/simulation/.fix_my_name.pl6
2 files changed, 16 insertions, 0 deletions
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;
+}