25 lines
327 B
Bash
25 lines
327 B
Bash
#!/bin/sh
|
|
|
|
list=`cat table.list`
|
|
|
|
cd /Users/leion/Documents/dev/pap/hisun/code/cap_trunk/core/app/cap/etc/
|
|
|
|
rm -rf matched
|
|
|
|
for x in $list;do
|
|
grep -iRl $x *XML
|
|
#grep -v 'table.list' -iRl $x >/dev/null
|
|
|
|
if [ $? -eq 0 ] ;then
|
|
echo $x 'is matched' >> matched
|
|
fi
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|