Skip to content
Grep for LDIF
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore Ignore stuff. Sep 1, 2011
.npmignore
README.md
ldifgrep.js
package.json

README.md

LDIFGrep

Quick-and-dirty grep for LDIF files.

Ex:

zcat -q data.ldif.gz | ldifgrep your@mail.tld | less

Caveats

  • Only loads from stdin. Should be easy to fix, though.
  • "Fixes" broken lines, so matching works better + easier to grep later.
  • Fails quite hard if interrupted while working.
  • No sanity-checking of input. What so ever.
  • YMMV

Getting it

For now:

git clone https://msiebuhr@github.com/msiebuhr/node-ldifgrep.git
cd node-ldifgrep
npm link

Once I get registered on npmjs.org:

npm install ldifgrep
Something went wrong with that request. Please try again.