Would someone be willing to share the option? I’m looking at the 2.4.23 man page in CentOS 6 and I don’t see an option to not wrap lines. I’ve always unwrapped lines with perl but it would be handy to do it directly in ldapsearch.
thanks, -morgan On May 21, 2014, at 2:34 PM, Auteria W. Winzer Jr. <[email protected]> wrote: > Thank you. I located the option. > > -AWJr > From: Howard Chu <[email protected]> > To: Auteria W. Winzer Jr. <[email protected]>; Quanah Gibson-Mount > <[email protected]> > Cc: "[email protected]" <[email protected]> > Sent: Wednesday, May 21, 2014 12:24 AM > Subject: Re: ldapsearch hidden option "-T" > > Auteria W. Winzer Jr. wrote: > > What I meant to say is I don't want to wrap long lines. By default it'll > > break > > a line after 76 characters. However long the line is, it should only be 1 > > line, not broken. > > You must be talking about someone else's ldapsearch command. The "-T" option > has been documented in OpenLDAP since at least version 2.0.0. And as Quanah > already noted, if you read the OpenLDAP ldapsearch manpage you'll see that > there is another option to control line wrapping. > > > > > Regards, > > Auteria Winzer Jr. > > > > > > ------------------------------------------------------------------------------ > > *From:* Quanah Gibson-Mount <[email protected]> > > *To:* Auteria W. Winzer Jr. <[email protected]> > > *Cc:* "[email protected]" <[email protected]> > > *Sent:* Tuesday, May 20, 2014 9:52 PM > > *Subject:* Re: ldapsearch hidden option "-T" > > > > > > > > On May 20, 2014, at 5:52 PM, "Auteria W. Winzer Jr." <[email protected] > > <mailto:[email protected]>> wrote: > > > >> I'm sorry I should've been more definitive. > >> At one time ldapsearch provided an option to wrap long lines. By > >> default, it breaks any line after the 76th character. > >> I was looking for an option that provides that functionality > > > > Did you read the man page? It is still possible to do > > > > --Quanah > > > > > > > >> Regards, > >> Auteria Winzer Jr. > >> > >> > >> ------------------------------------------------------------------------------ > >> *From:* Quanah Gibson-Mount <[email protected] > >> <mailto:[email protected]>> > >> *To:* Auteria W. Winzer Jr. <[email protected] > >> <mailto:[email protected]>>; [email protected] > >> <mailto:[email protected]> > >> *Sent:* Tuesday, May 20, 2014 8:25 PM > >> *Subject:* Re: ldapsearch hidden option "-T" > >> > >> > >> > >> --On May 20, 2014 at 4:55:56 PM -0700 "Auteria W. Winzer Jr." > >> <[email protected] <mailto:[email protected]>> wrote: > > >> > >> > >> > > >> > > >> > Is the "-T" option for ldapsearch available in 2.4.39, or has it > >> been > >> > permanently removed? > >> > >> > >> Not sure what you mean by "hidden". It is clearly documented in the > >> man > >> page: > >> > >> SYNOPSIS > >> ldapsearch [-V[V]] [-d debuglevel] [-n] [-v] [-c] [-u] > >> [-t[t]] [-T path] [-F prefix] [-A] [-L[L[L]]] [-S attribute] [-b > >> searchbase] [-s {base|one|sub|children}] [-a > >> {never|always|search|find}] > >> [-l timelimit] [-z sizelimit] [-f file] [-M[M]] [-x] [-D > >> binddn] > >> [-W] [-w passwd] [-y passwdfile] [-H ldapuri] [-h ldaphost] [-p > >> ldapport] [-P {2|3}] [-e [!]ext[=extparam]] [-E > >> [!]ext[=extparam]] > >> [-o opt[=optparam]] [-O security-properties] [-I] [-Q] [-N] > >> [-U > >> authcid] [-R realm] [-X authzid] [-Y mech] [-Z[Z]] filter [attrs...] > >> > >> OPTIONS > >> -T path > >> Write temporary files to directory specified by path > >> (default: /var/tmp/) > >> > >> --Quanah > >> > >> > >> -- > >> Quanah Gibson-Mount > >> Server Architect > >> Zimbra, Inc > >> -------------------- > >> Zimbra :: the leader in open source messaging and collaboration > > >> > >> > >> > >> > > > > > > > -- > -- Howard Chu > CTO, Symas Corp. http://www.symas.com > Director, Highland Sun http://highlandsun.com/hyc/ > Chief Architect, OpenLDAP http://www.openldap.org/project/ > > > >
