summaryrefslogtreecommitdiff
path: root/regress/simulation/.grep
blob: e75965b4cacb39867037e771d54f3d2d4f8dca63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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