Hi gurus -
I have an input file like so
10.0.0.1 servername
10.0.0.2 servername2
10.0.0.2 servername2
10.0.0.3 servername3
I am reading in the file and just writing out the Servername to a new output file -
But - I only want one entry for servername2 (and any other dupes) in the new file ...
Any pointers would be great
Thanks in advance
Rab
I have an input file like so
10.0.0.1 servername
10.0.0.2 servername2
10.0.0.2 servername2
10.0.0.3 servername3
I am reading in the file and just writing out the Servername to a new output file -
But - I only want one entry for servername2 (and any other dupes) in the new file ...
Any pointers would be great
Thanks in advance
Rab