replace egrep by grep -E

This fixes the following warning:

egrep: warning: egrep is obsolescent; using grep -E
This commit is contained in:
David du Colombier 2023-09-29 21:57:45 +02:00
parent 024f29d105
commit c26eaf6bc5
2 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@ Installation:
Documentation:
# see list of all key bindings
egrep '^ +\$\{\w+\}' @LOCALCONF@/config.yaml
grep -E '^ +\$\{\w+\}' @LOCALCONF@/config.yaml
# read the configuration file
less @LOCALCONF@/config.yaml

View File

@ -32,8 +32,8 @@ $LD -o $outfile $ofiles $LDFLAGS $args >$xtmp 2>&1
status=$?
[ $status -eq 0 ] || echo $LD -o $outfile $ofiles $LDFLAGS $args >&2
sed 's/.*: In function `[^:]*: *//' $xtmp | egrep . |
egrep -v 'is almost always misused|is dangerous, better use|in statically linked applications requires at runtime'
sed 's/.*: In function `[^:]*: *//' $xtmp | grep -E . |
grep -E -v 'is almost always misused|is dangerous, better use|in statically linked applications requires at runtime'
rm -f $xtmp
exit $status