I got a file with a load of ip ranges ( 123.123.123.13-145.155.155.155)
Now i want to decompose/convert that file with the huge list into a new file, where the addresses are in network/host format.
example:
file1: 199.232.0.0-199.232.255.255
new file: 199.232.0.0/16
off course, some solution must be able to read "file1" and convert all the ipranges into the new format and create file2.
ive been looking everywhere and couldnt find any tool do make this
Thanks.



