[email protected] wrote:
#!/bin/sed -rf
# Author: Harry Jede
# produce human readable but still machine parseable
# olcAccess lines and removes the ordering numbers in {}
# because humans don't need them, really.
Nice formatting, but just a note - the ordering prefixes are there to allow
you to insert new ACLs in the precise spot where they belong. So in fact,
human or machine, they are necessary. We wouldn't throw things in there for no
reason.
Otherwise, to insert one rule in front of existing rules, you would need to
delete and reinsert all of the rules.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/