summaryrefslogtreecommitdiffstats
path: root/tools/build/search-id.sh
blob: a94d2d7cc928e0379adf02d3ed0c8a55b63812e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
#
#  $Id$
#

find $1 -type f -a ! -name "*.scn" -a ! -name "bsp_specs" -a \
	-print  > /tmp/$$.0
find $1 -type f -a ! -name "*.scn" -a ! -name "bsp_specs" -a \
	-exec grep -l '$Id' {} \;  > /tmp/$$.1

diff /tmp/$$.0 /tmp/$$.1 > /tmp/$$.2

grep "<" /tmp/$$.2 | sed 's/< //' >&1

rm -f /tmp/$$*