#!/bin/bash #% show-pending #% Show operations not yet commited in symbolic form if [ $LDAP_SHELL -ne 1 ]; then echo "Not running in LDAP shell mode" >&2 return 1 else grep "^#%" $LDIF_BASE | sed -e "s/^#%//" fi