need help to read a file
I've a text file containing more than 100 blocks of data in the following format with different values for variables. And i want to write a shell script to read host_name and the address from each block and store in an another file can anybody help me to write that.
Thanx in advance !!!