Hello,
i get linebreaks (after i guess 80 chars) when i use: lapcat -b "somebase" -l /tmp/ldap-example.ldif.tmp
This is on debian lenny. I get the same problem with stdout.
Any ideas?
Cheers, Mario
ml ml wrote:
i get linebreaks (after i guess 80 chars) when i use: lapcat -b "somebase" -l /tmp/ldap-example.ldif.tmp
This is on debian lenny. I get the same problem with stdout.
Works as designed since slapcat's output is LDAP Data Interchange Format (LDIF) (see RFC 2849 for details). => Use a decent LDIF parser module for your favourite scripting language for processing slapcat's output.
Ciao, Michael.
slapcat .... | perl -0pe 's/\n //g'
regards DT
On Sat, 17 Jul 2010, ml ml wrote:
Hello,
i get linebreaks (after i guess 80 chars) when i use: lapcat -b "somebase" -l /tmp/ldap-example.ldif.tmp
This is on debian lenny. I get the same problem with stdout.
Any ideas?
Cheers, Mario
openldap-technical@openldap.org