summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-03-10 12:48:16 +0000
committerfukachan <fukachan>2001-03-10 12:48:16 +0000
commit3fe85c8b52255dad0b3b44d03e38d3914dfe43f4 (patch)
treecf1bcdcb4cf8a4165abb17e7035026d5d4ff7759
parent1918c682eb6d05364f4f625f9af67df6dc18df78 (diff)
downloadfml8-3fe85c8b52255dad0b3b44d03e38d3914dfe43f4.tar.gz
fml8-3fe85c8b52255dad0b3b44d03e38d3914dfe43f4.tar.bz2
fml8-3fe85c8b52255dad0b3b44d03e38d3914dfe43f4.zip
grep key in the modules
-rwxr-xr-xregress/simulation/.grep19
1 files changed, 19 insertions, 0 deletions
diff --git a/regress/simulation/.grep b/regress/simulation/.grep
new file mode 100755
index 00000000..e75965b4
--- /dev/null
+++ b/regress/simulation/.grep
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# $Id$
+#
+
+tmp=/tmp/buffer$$
+trap "rm -f $tmp" 0 1 3 15
+
+cd ../.. || exit 1
+
+find fml cpan -type f -print | egrep '\.pm$' > $tmp
+find fml/libexec -type f -print | grep -v CVS >> $tmp
+
+for key in $*
+do
+ egrep $key `cat $tmp`
+done
+
+exit 0