mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
cleanup
This commit is contained in:
parent
a5f5d53f74
commit
b6ff5c4d50
@ -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 \"\"}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user