To make you more clear
my first file contain line like
my name is % s
My local machine ip is %d
My second file contains value for %s i.e john,peter,mickey
My third file contains value for %d i.e 10.0.1.2, 10.2.3.4
My output should be My name is John
My name is Peter
My name is mickey
My local machine ip is 10.0.1.2
My local machine ip is 10.2.3.4
can you please help me on getting this output ...