Replace fgrep and egrep with grep -F/-E
GNU Grep 3.8 reports the following warnings:
egrep: warning: egrep is obsolescent; using grep -E
fgrep: warning: fgrep is obsolescent; using grep -F
This commit is contained in:
committed by
Ondřej Surý
parent
65e91ef5e6
commit
212c4de043
@@ -91,7 +91,7 @@ echo_i "checking that standby KSK did not sign but is delegated ($n)"
|
||||
ret=0
|
||||
grep " $rolling"'$' sigs > /dev/null && ret=1
|
||||
grep " $rolling"'$' keys > /dev/null || ret=1
|
||||
egrep "DS[ ]*$rolling[ ]" ${pfile}.signed > /dev/null || ret=1
|
||||
grep -E "DS[ ]*$rolling[ ]" ${pfile}.signed > /dev/null || ret=1
|
||||
n=$((n + 1))
|
||||
if [ $ret != 0 ]; then echo_i "failed"; fi
|
||||
status=$((status + ret))
|
||||
|
||||
Reference in New Issue
Block a user