mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-16 11:31:00 +08:00
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
|