Hi All,
Lets say I have two files and want to perform a substitution of the data in file1 based on the file2. Based on these initial two files I would like file1 to be changed to what is below. Note: file2 will be about 2500 lines.
Thanks in advance.
--- You must not fight too often with one enemy, or you will teach him all your tricks of war.
Lets say I have two files and want to perform a substitution of the data in file1 based on the file2. Based on these initial two files I would like file1 to be changed to what is below. Note: file2 will be about 2500 lines.
Code:
__file1__
23
45
62
61
22
__file2__
23, joe
45, bob
62, pawan
61, kimber
22, sue-lee
..etc
Code:
__file1-revised__
joe
bob
pawan
kimber
sue-lee
Thanks in advance.
--- You must not fight too often with one enemy, or you will teach him all your tricks of war.