[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
FW: Quickie: how to stop line wrapping when doing a search etc
-----Original Message-----
From: Adrian Black [mailto:adrian.black@itouch.com.au]
Sent: Tuesday, 8 January 2002 10:50 AM
To: openldap
Subject: Quickie: how to stop line wrapping when doing a search etc
I am using Redhat 6.2 and I have the annoying problem that when you do a
ldap search that when a line produced by ldapsearch is above a certain
charcter length the line is wrapped to the next line with a newlineSPACE
added. I am using putty as my terminal emulator but I don't think that this
is the problem. Even if I direct the output to a file it stills happens.
How do I
a) stop this
b) use a unix tool (vi etc) to remove the added characters.
Sample output:
#
# filter: (objectClass=*)
# requesting: dn
#
# cahen/\philips\,dc=com,dc=au,dc=www
dn: dc=cahen/\<philips\>,dc=com,dc=au,dc=www
# compbk,dc=cahen/\philips\,dc=com,dc=au,dc=www
dn: ou=compbk,dc=cahen/\<philips\>,dc=com,dc=au,dc=www
# privbk,dc=cahen/\philips\,dc=com,dc=au,dc=www
dn: ou=privbk,dc=cahen/\<philips\>,dc=com,dc=au,dc=www
# ungrouped,compbk,dc=cahen/\philips\,dc=com,dc=au,dc=www
dn: ou=ungrouped,ou=compbk,dc=cahen/\<philips\>,dc=com,dc=au,dc=www
# gordon\bennet@geexa\com,privbk,dc=cahen/\philips\,dc=com,dc=au,dc=www
dn:
uid=gordon\+bennet@geexa\,com,ou=privbk,dc=cahen/\<philips\>,dc=com,dc=au,
dc=www
#
ungrouped,uid=gordon\bennet@geexa\com,privbk,dc=cahen/\philips\,dc=com,dc=a
u,dc=www
dn:
ou=ungrouped,uid=gordon\+bennet@geexa\,com,ou=privbk,dc=cahen/\<philips\>,
dc=com,dc=au,dc=www
# Bill
Anderson\,ungrouped,uid=gordon\bennet@geexa\com,privbk,dc=cahen/\phili
ps\,dc=com,dc=au,dc=www
dn: cn=Bill
Anderson\\,ou=ungrouped,uid=gordon\+bennet@geexa\,com,ou=privbk,dc
=cahen/\<philips\>,dc=com,dc=au,dc=www
# search result
search: 2
result: 0 Success
Thanks
Adrian