[ Thanks to Nobody for this link.
]
“Many organizations implement some form of LDAP service for
storing enterprise directory information. Existing search options
allow for a range of lookups based on where certain data is stored
in the directory. This article allows you to combine the power of
regular expressions with the grep tool to create your own custom
LDAP search capability. In the spirit of successful search engines,
such as Google, we’ll change the search format from a LDAP-style
query string to simple and powerful keyword matching and results
display.“In this article, we will cover building the flat-file database,
regular-expression creation, and basic search and display. Part 2
covers the scoring and metaphone matching topics to help complete
your search capabilities…”