[Date Prev][Date Next]
RE: avoid line-wrap in output of slapcat
- To: "Roel van Meer" <email@example.com>, <openldap-software@OpenLDAP.org>
- Subject: RE: avoid line-wrap in output of slapcat
- From: "OpenLDAP Mailing List" <firstname.lastname@example.org>
- Date: Wed, 21 Nov 2001 08:53:38 -0600
- Content-class: urn:content-classes:message
- Thread-index: AcFylrr8vaR9X2I8SbmID5PyEpAgPwABT8BA
- Thread-topic: 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:email@example.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
> 1A First Alternative firstname.lastname@example.org www.alt001.com
> Linvision BV email@example.com (www|devel).linvision.com