newlib/winsup/w32api/lib/CheckConflicts.sh
Chris Sutcliffe 59ecc5766c 2010-08-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/CheckConflicts.sh: New file.
2010-08-22 04:03:33 +00:00

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