View Full Version : Pulling certain charactors?


Ben Samuals
02-03-2004, 04:10 PM
I dump some text from a process this is formatted as follows:

cn=john smith,ou=myou,dc=mycompnay,dc=com
cn=suzy smith,ou=myou,dc=mycompnay,dc=com
cn=don smith,ou=myou,dc=mycompnay,dc=com....

What I want to do is pull the name from the above file. Could anyone help
with the "for" syntax? I would like to see:

john smith
suzy smith
don smith...

thank you.