This commit is contained in:
Pierangelo Masarati 2001-11-05 08:52:01 +00:00
parent a5f5d53f74
commit b6ff5c4d50

View File

@ -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 \"\"}"