From: Mark Andrews Date: Sat, 13 Apr 2013 12:34:35 +0000 (+1000) Subject: egrep was not precise enough X-Git-Tag: v9.10.0a1~410 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=78e179da20d2e29710f1ff695864e406c2c5a6d6;p=thirdparty%2Fbind9.git egrep was not precise enough --- diff --git a/bin/tests/system/rndc/setup.sh b/bin/tests/system/rndc/setup.sh index 94abeb09933..a3df13d2625 100644 --- a/bin/tests/system/rndc/setup.sh +++ b/bin/tests/system/rndc/setup.sh @@ -32,7 +32,7 @@ cat ns4/named.conf.in > ns4/named.conf make_key () { $RNDCCONFGEN -r random.data -k key$1 -A $2 -s 10.53.0.4 -p 995${1} \ > ns4/key${1}.conf - egrep -v '(Start|End|Use|^[^#])' ns4/key$1.conf | cut -c3- | \ + egrep -v '(^# Start|^# End|^# Use|^[^#])' ns4/key$1.conf | cut -c3- | \ sed 's/allow { 10.53.0.4/allow { any/' >> ns4/named.conf }