Joining lines
Posted: Fri Sep 24, 2010 6:54 pm
Hi All,
I have an ldif file which is exported from LDAP and its got thousands of lines and some of the DN's are spilted into two lines. How can we can join those lines.
I can do shift J, but since I have thousands of lines that is not good idea.
Here is example of my file
I have an ldif file which is exported from LDAP and its got thousands of lines and some of the DN's are spilted into two lines. How can we can join those lines.
I can do shift J, but since I have thousands of lines that is not good idea.
Here is example of my file
Thanks[/quote]dn: cn=abc,ou=syc,=myorg,o=org
dn: uid=role_ab cd, ou=qaz,ou, edc,
ou=roles,ou=org
dn: cn=abcd,ou=syc,=myorg,o=org
dn: uid=role_ab cd, ou=qaz,ou=edc_
dcf & sync, ou=roles,ou=org
dn: uid=role_ab&sync, ou=qazd,ou=syx -
dcf & sync, ou=roles,ou=org