[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: avoid line-wrap in output of slapcat

There is a perl module (LDAP::LDIF?) that handles this. I also wrote an
ldif-parse Tcl script that handles this situation as well.

I imagine there is a C fucntion that also does this (check out
ldapadd.c) as well.

What language will you be using?


> -----Original Message-----
> From: Roel van Meer [mailto:rolek@linvision.com]
> Sent: Wednesday, November 21, 2001 8:13 AM
> To: openldap-software@OpenLDAP.org
> Subject: avoid line-wrap in output of slapcat
> Hi list,
> i noticed that when i run slapcat on a database, the results get
> line-wrapped at 78 characters. The next line starts with a space, to
> indicate the previous line is continuing.
> Is there a way to avoid this? I need to parse the resulting ldif,
> which will get a lot harder if i need to match things over multiple
> lines...
> Regards,
> rolek
> --
> 1A First Alternative rolek@alt001.com    www.alt001.com
> Linvision BV         rolek@linvision.com (www|devel).linvision.com
> --