59ecc5766c
* lib/CheckConflicts.sh: New file.
13 lines
190 B
Bash
Executable File
13 lines
190 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ $# -ne 2 ]
|
|
then
|
|
echo "Usage: $0 pattern_file check_file"
|
|
exit 1
|
|
fi
|
|
|
|
for pattern in `cat $1 | cut -f1 -d'@'`
|
|
do
|
|
grep -Hwrn --color --exclude=$1 $pattern $2
|
|
done
|