[Date Prev][Date Next]
RE: avoid line-wrap in output of slapcat
- To: "Roel van Meer" <firstname.lastname@example.org>, <openldap-software@OpenLDAP.org>
- Subject: RE: avoid line-wrap in output of slapcat
- From: "OpenLDAP Mailing List" <email@example.com>
- 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:firstname.lastname@example.org]
> 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 email@example.com www.alt001.com
> Linvision BV firstname.lastname@example.org (www|devel).linvision.com