From b6ff5c4d50218496492bbadad879dba88b7054e5 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 5 Nov 2001 08:52:01 +0000 Subject: [PATCH] cleanup --- tests/scripts/subfilter.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/scripts/subfilter.sh b/tests/scripts/subfilter.sh index ebc4978ad1..61f17c61d5 100755 --- a/tests/scripts/subfilter.sh +++ b/tests/scripts/subfilter.sh @@ -1,10 +1,6 @@ #! /bin/sh # -# Strip entries that belong to subtree $2 (if any) +# Strip entries that belong to subtree $1 # -if test $# == 0 ; then - exit 1 -else - awk "/^dn:/&&!/$1\$/ {while (\$1!=\"\") {print \$0;getline} print \"\"}" -fi +awk "/^dn:/&&!/$1\$/ {while (\$1!=\"\") {print \$0;getline} print \"\"}" -- 2.39.5