[Date Prev][Date Next]
Re: slapcat word wrap?
This has been asked (and answered) many times in the past. I remember
someone posting the essential perl code to unwrap ldif. You may search
> Hallvard B Furuseth wrote:
>> Justin Crabtree writes:
>>>[slapcat] appear to be wrapping at a set number of characters.
>>>sendmailMTAAliasValue: "|/usr/local/mailman/mail/mailman unsubscribe
>> That's what the LDIF format specifies - almost. A line starting
>> with a space is a continuation of the previous line. You get the
>> value by removing the newline and one space. See RFC 2849:
>> I don't know why your output shows lines starting with two spaces,
>> that puts one space in the middle of the value. If it's not just
>> your mail program doing it, maybe you have been outputting,
>> editing incorrectly and importing again the LDIF files.
> Ok, thanks for all the responses. Apparently there was some email
> Either way, the reason this is a problem is because I am having to parse
> dump to a ldif file with a perl script. Is there anyway to prevent the
> wrapping? If not, I can do some extra work to reassemble the lines in
> perl, but
> I would prefer to avoid that if I can. Thanks for the help.
> Justin Crabtree
> Java Programmer
> Ozarks Technical Community College
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497