I have a huge file with about 12300 lines that look something similar to this.
001.domain.com=001.somedomain.com:10001 002.domain.com=002.somedomain.com:10002 003.domain.com=003.somedomain.com:10003
I want the file to look like this when it is done
001.domain.com=IP_Address_of_001.somedomain.com:10001 002.domain.com=IP_Address_of_002.somedomain.com:10002 003.domain.com=IP_Address_of_003.somedomain.com:10003
So basically I need to find and replace the hostname after the = signs with the ip address.
If someone can point me in the right direction, I would appreciate it.