summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/lib/CheckConflicts.sh
blob: 8f424f69ce1ab8cd51971191914dac55e044c1fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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