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

Re: making ldapsearch not to split lines



2006/11/16, Buchan Milne <bgmilne@staff.telkomsa.net>:

If I need to do something like this on the shell, I typically use something like:

ldapsearch|perl -p0e 's/\n //g'|awk -F: '/^dn/' '{print $2}'
Thanks, I've tried to do the same with sed - did not work.


Not at present, some patches were proposed in some ITSs, but no agreement was reached on their usefulness (IIRC).

Ok, I get it. It looks like I've got all of the answers. Thank you.


-- Zaar