Searching for records in 15000 lines.

Have a list of hostnames in a text file. Wanted to take the lines matching the 
hostnames in csv file. must use sub routines or is there any module for this?

host.txt
adms0922
adms0943
adms0782

temp.csv
12312,adms0782,10.10.50.53,Application,,,12.3

I want to print all the matching values of the 

Thanks
Manoj

Reply via email to