mirror of
https://github.com/0intro/wmii
synced 2024-11-24 06:39:47 +03:00
replace egrep by grep -E
This fixes the following warning: egrep: warning: egrep is obsolescent; using grep -E
This commit is contained in:
parent
024f29d105
commit
c26eaf6bc5
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user