On Saturday, 11. May 2013, you wrote: > >What I can offer you as some kind of consolation is an idea about a simple > >preprocessor that filters out the illegal "control:" lines > > > > perl -i -p -0040 -e 's/\n //' < RFC-VIOLATING-FILE \ > > > > | grep -vi ^control: > RFC-CONFORMING-FILE > >[the first command is required to unwrap the wrapped lines] > > > >Alternatively you may add a > > changetype: add line > >after each unwrapped dn: line. > > all very good suggestions, thanks for offering them. > > I'm dealing with 1G+ LDIFs, and the patch *is* cleaner for me, but > preprocessing will work.
When the dump utility is capable of writing to stdout, you can use a pipe. This way you will not need more memory, ... > >Please at least report it to them as a bug in their tool (even if they > >might not react). Maybe they are not even aware of the issue. > > If I put the bug report in, will you incorporate the patch? :) No. [I do not want perl-ldap to look like the easier target ;-]] My hope is IBM will fix their bug and adhere to well-established standards. If they do, you can throw away the preprocessor step. Best PEter -- Peter Marschall pe...@adpm.de