I have list 1 and 2 and I would like to get list 3. If anyone can suggest python or awk script, that would be great.
List 1 A 100-160 B 200-500 C 800-1500 D 1600-2000 E 2500-3000 List 2 150 600 900 1700 2400 List 3 A 100-160 150 B 200-500 C 800-1500 900 D 1600-2000 1700 E 2500-3000
Here is an example. It is expecting two filenames to be passed on the command line.