Computing.net: Question & Answers Forum Latest Questions

computing
  • 6
  • 6

Hi I have a text file, ‘test1.txt’. It contains data in the following format: cn=lagrim@xplornet.com,o=combined,c=us objectClass=top objectClass=person objectClass=organizationalPerson objectClass=inetOrgPerson objectClass=ePerson cn=Edison cn=lagrim@xplornet.com sn=Baker uid=lagrim@xplornet.com How can I extract the “uid” field into another text file and add it in the following format. user ...