spg <bugrepor...@udmvt.ru> writes: > This does not depend on tty width. > Also no piece of code checks to see if output is a tty. > Output example: > mail:< file:///tmp/ldapsearch-mail-gA0v8v > msExchHomeServerName:< > file:///tmp/ldapsearch-msExchHomeServerName-y5RfdB > msExchMailboxSecurityDescriptor:< > file:///tmp/ldapsearch-msExchMailboxSecurit yDescriptor-y7G0hG > msExchUserAccountControl:< > file:///tmp/ldapsearch-msExchUserAccountControl-K9 yMmL > msExchMailboxGuid:< file:///tmp/ldapsearch-msExchMailboxGuid-eHEzrQ > End of example.
You can undo the line-folding, that ldapsearch does, using a simple filter: ldapsearch ... | perl -p -0040 -e 's/\n //' This unfolds all folded lines in ldapsearch's output. Hope this helps Peter -- Peter Marschall pe...@adpm.de -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org