Quick-and-dirty grep for LDIF files.
Ex:
zcat -q data.ldif.gz | ldifgrep [email protected] | 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
For now:
git clone https://[email protected]/msiebuhr/node-ldifgrep.git
cd node-ldifgrep
npm link
Once I get registered on npmjs.org:
npm install ldifgrep