Hi Friend ,
i have one file say xyz.lst and it has content like
dn: cn=m.hariharan,cn=employee,cn=delhi circle,cn=users,dc=industowers,dc=c
dn: cn=ajay.jain,cn=employee,cn=gujarat circle,cn=users,dc=industowers,dc=com
dn: cn=ajitkumar.thakor,cn=employee,cn=gujarat circle,cn=users,dc=industowers,
dn: cn=abhinesh.sharma,cn=employee,cn=punjab & haryana circle,cn=users,dc=indu
now i uses unix cut command
" cut -d ',' -f 1,3 xyz.lst"
and the result is
dn: cn=m.hariharan,cn=delhi circle
dn: cn=ajay.jain,cn=gujarat circle
dn: cn=ajitkumar.thakor,cn=gujarat circle
but my output should be like this.
m.hariharan delhi circle
ajay.jain gujarat circle
ajitkumar.thakor gujarat circle
i want to omit dn: cn= from name section and cn= from region section.
Any help is greatly appreciated.
Thanks in Advance.
Regards,
Harish Anand