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
9fi9fi
10 10
11GREP=grep11GREP=grep
12EGREP=egrep12EGREP='grep -E'
13TMP=patcheck.tmp13TMP=patcheck.tmp
14OPT="-nH"14OPT="-nH"
15#FILES=$($GREP '^+++' $* | sed 's/+++ //g')15#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