Extrect selected entries from LDIF files like grep
ldif-extract is a small 'grep' like tool to extract and convert data from LDIF files. It could be used standalone or also in a pipe together with other tools like ldapsearch.
Term-Highlight is a highly customizable perl-compatible regexp highlighter for wide range of terminal emulators. Term-Highlight can be used as grep-like engine or command output highlighter. You can use it just to learn perl regular expressions!