ldifgrep
This project has the narrow but useful goal of providing a utility to search for ldap attributes, values or ldif syntax in an ldif file. Unlike traditional grep, it will then return the entire record that accompanies the matching line(s).
This will also work for any other file format where records are delimated by two consecutive newlines (i.e. a blank line separator).
In the style of most ldap syntax, the utility searches are case-insensitive.
Example
$ ldifgrep foo bar.ldif
---example coming shortly---
Please provide input on any bugs or interesting feature requests.
Summary page: resides here