node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey ยป



Quick-and-dirty grep for LDIF files.


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


  • 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
cd node-ldifgrep
npm link

Once I get registered on

npm install ldifgrep