Skip to content
Snippets Groups Projects
Commit b6ff5c4d authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

cleanup

parent a5f5d53f
No related branches found
No related tags found
No related merge requests found
#! /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 \"\"}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment