mirror of
https://github.com/0intro/wmii
synced 2024-11-21 21:31:33 +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:
|
Documentation:
|
||||||
|
|
||||||
# see list of all key bindings
|
# see list of all key bindings
|
||||||
egrep '^ +\$\{\w+\}' @LOCALCONF@/config.yaml
|
grep -E '^ +\$\{\w+\}' @LOCALCONF@/config.yaml
|
||||||
|
|
||||||
# read the configuration file
|
# read the configuration file
|
||||||
less @LOCALCONF@/config.yaml
|
less @LOCALCONF@/config.yaml
|
||||||
|
@ -32,8 +32,8 @@ $LD -o $outfile $ofiles $LDFLAGS $args >$xtmp 2>&1
|
|||||||
status=$?
|
status=$?
|
||||||
[ $status -eq 0 ] || echo $LD -o $outfile $ofiles $LDFLAGS $args >&2
|
[ $status -eq 0 ] || echo $LD -o $outfile $ofiles $LDFLAGS $args >&2
|
||||||
|
|
||||||
sed 's/.*: In function `[^:]*: *//' $xtmp | egrep . |
|
sed 's/.*: In function `[^:]*: *//' $xtmp | grep -E . |
|
||||||
egrep -v 'is almost always misused|is dangerous, better use|in statically linked applications requires at runtime'
|
grep -E -v 'is almost always misused|is dangerous, better use|in statically linked applications requires at runtime'
|
||||||
rm -f $xtmp
|
rm -f $xtmp
|
||||||
|
|
||||||
exit $status
|
exit $status
|
||||||
|
Loading…
Reference in New Issue
Block a user