I have the following scenario. I have a file with the following content.
start-I/p end-I/p code
10.35.210.1 10.35.210.255 User1
10.35.145.1 10.35.145.255 User2
I want the output in the following manner.
ip code
10.35.210.1 user1
10.35.210.2 user1
10.35.210.3 user1
10.35.210.4 user1
and so on until
10.35.210.255 user1
10.35.145.1 user2
10.35.145.2 user2
10.35.145.3 user2
10.35.145.4 user2
so on till
10.35.145.255 user2.
Can any one help me with a suitable solution?