summaryrefslogtreecommitdiff
path: root/regress/simulation/.grep
blob: 8ecd82b6dbd8b1d545159ea548604f0386c9dfc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
#
# $FML: .grep,v 1.3 2001/04/15 03:14:39 fukachan Exp $
#

tmp=/tmp/buffer$$
trap "rm -f $tmp" 0 1 3 15

cd ../.. || exit 1

find fml cpan -type f -print | egrep '\.pm$|/etc/' > $tmp
find fml/libexec -type f -print | grep -v CVS >> $tmp
find regress -type f -print | grep -v CVS >> $tmp

for key in $*
do
   egrep $key `cat $tmp`
done

exit 0