GNU apparently deprecated their egrep alias, replace it with 'grep -E' to avoid getting flooded with deprecation warnings.
Unified · Split
| @@ -9,7 +9,7 @@ if [ $# = 0 ]; then · 8 unmodified lines | ||
| 9 | 9 | fi |
| 10 | 10 | |
| 11 | 11 | GREP=grep |
| 12 | −EGREP=egrep | |
| 12 | +EGREP='grep -E' | |
| 13 | 13 | TMP=patcheck.tmp |
| 14 | 14 | OPT="-nH" |
| 15 | 15 | #FILES=$($GREP '^+++' $* | sed 's/+++ //g') |