diff options
author | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2010-08-22 08:03:33 +0400 |
---|---|---|
committer | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2010-08-22 08:03:33 +0400 |
commit | 59ecc5766c34a317e914e09bb94c894e645a3b14 (patch) | |
tree | d26fbf4997e3ee85fed604bb47c8f10cf97f7209 /winsup/w32api/lib/CheckConflicts.sh | |
parent | f6ce088fb3977eea92214230de20e4bda6ad6e3c (diff) |
2010-08-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/CheckConflicts.sh: New file.
Diffstat (limited to 'winsup/w32api/lib/CheckConflicts.sh')
-rwxr-xr-x | winsup/w32api/lib/CheckConflicts.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/winsup/w32api/lib/CheckConflicts.sh b/winsup/w32api/lib/CheckConflicts.sh new file mode 100755 index 000000000..8f424f69c --- /dev/null +++ b/winsup/w32api/lib/CheckConflicts.sh @@ -0,0 +1,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 |