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

Re: ldapsearch wrapping at 76 chars



On Thu, 11 Aug 2005, Jan-Piet Mens wrote:

>
> On Thu Aug 11 2005 at 15:09:09 CEST, Hallvard B Furuseth wrote:
>
> > Dave Horsfall writes:
> > > They don't get much smaller than this:
> > >
> > > 	perl -p -00 -e 's/\r\n //g; s/\n //g'
> >
> >         perl -p00e 's/\r?\n //g'
>
> 	  perl -p0e 's/\n //g'
>

The -00 flags is reading the file in paragraph mode, which is one full
ldif entry at a time, which is closer to what you would want.

Villy