H
haiwu.us
I have one ldif file, which is a dump file from Oracle OID. Many lines
got cut into 2 lines due to 80 columns limit, not sure why. So there
are many similar lines as follows in the file (there will always be an
empty space char in the beginning of the 2nd line):
cn: ias_admin
creatorsname:
orclapplicationcommonname=uddi,cn=portal,cn=products,cn=oracleco
ntext
modifiersname:
orclapplicationcommonname=uddi,cn=portal,cn=products,cn=oraclec
ontext
description: UDDI Registry Administrator. It maps to the ias_admin user
of Ent
erprise Manager.
I want to change the above to below:
cn: ias_admin
creatorsname:
orclapplicationcommonname=uddi,cn=portal,cn=products,cn=oraclecontext
modifiersname:
orclapplicationcommonname=uddi,cn=portal,cn=products,cn=oraclecontext
description: UDDI Registry Administrator. It maps to the ias_admin user
of Enterprise Manager.
Is it possible for perl one-liner?
got cut into 2 lines due to 80 columns limit, not sure why. So there
are many similar lines as follows in the file (there will always be an
empty space char in the beginning of the 2nd line):
cn: ias_admin
creatorsname:
orclapplicationcommonname=uddi,cn=portal,cn=products,cn=oracleco
ntext
modifiersname:
orclapplicationcommonname=uddi,cn=portal,cn=products,cn=oraclec
ontext
description: UDDI Registry Administrator. It maps to the ias_admin user
of Ent
erprise Manager.
I want to change the above to below:
cn: ias_admin
creatorsname:
orclapplicationcommonname=uddi,cn=portal,cn=products,cn=oraclecontext
modifiersname:
orclapplicationcommonname=uddi,cn=portal,cn=products,cn=oraclecontext
description: UDDI Registry Administrator. It maps to the ias_admin user
of Enterprise Manager.
Is it possible for perl one-liner?