Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CheckConflicts.sh « lib « w32api « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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