History

tools: Fix deprecation warning in patcheck

GNU apparently deprecated their egrep alias, replace it with 'grep -E' to avoid getting flooded with deprecation warnings.

Link Mauve committed 1 year ago

Commit 50910c31 parent a8889751 file · +1 −1Browse files

Unified · Split

tools/patcheck+1−1
@@ -9,7 +9,7 @@ if [ $# = 0 ]; then · 8 unmodified lines
99 fi
1010
1111 GREP=grep
12−EGREP=egrep
12+EGREP='grep -E'
1313 TMP=patcheck.tmp
1414 OPT="-nH"
1515 #FILES=$($GREP '^+++' $* | sed 's/+++ //g')

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t