#!/bin/sh
list_keywords=./list-keywords-ldif.awk
schemas="$@"
echo " "
cat $schemas | $list_keywords | grep "attributetype" | grep -v '^#' | sed -e "s/'//g" | sort -u | awk '{print " - "$2"
"}'
echo "
"
echo " "
cat $schemas | $list_keywords | grep "objectclass" | grep -v '^#' | sed -e "s/'//g" | sort -u | awk '{print " - "$2"
"}'
echo "
"