From: Jeffrey Walton Date: Tue, 14 May 2019 01:48:15 +0000 (-0400) Subject: Fix Shellcheck warning in test/f X-Git-Tag: release-1.7.1-rc1~4^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5562272e40cd83276470ef01ab4aae12bd314ff;p=thirdparty%2Fldns.git Fix Shellcheck warning in test/f Also see http://github.com/koalaman/shellcheck. It should be available for install on your Linux box from the package manager. --- diff --git a/test/f b/test/f index 0c8cf881..976f08b3 100755 --- a/test/f +++ b/test/f @@ -8,6 +8,6 @@ rr.h tsig.h util.h zone.h" # we need two grep ldns_ ... for i in $FILES; do - cpp -I.. ../ldns/$i | egrep '.*? .*?\(.*' | grep ldns_ | \ + cpp -I.. "../ldns/$i" | grep -E '.*? .*?\(.*' | grep ldns_ | \ awk '{ print $2 }' | sed 's/^\*//' | sed 's/(.*$//' | grep ldns_ done