]> git.sur5r.net Git - openldap/blob - tests/scripts/subfilter.sh
Fix lib specs
[openldap] / tests / scripts / subfilter.sh
1 #! /bin/sh
2 #
3 # Strip entries that belong to subtree $1
4 #
5 awk '/^dn:/ && !/'"$1"'$/ {while ($0 != "") {print $0; getline} print ""}'
6