I have an ldif export where I want to build an outputfile with one line per ldif entry; the one line contains various attribute-values in a specific order.
So the commands should parse each ldif entry beginning with the dn: attribute and evaluate various attributes, extract their values, and then print a delimited line to an outputfile (e.g., uid|cn|sn|givenName|building|title|manager --- like this).
Linux commands or perl will work, thanks for your ideas.