xcellerate
New Member
- Joined
- Jun 12, 2019
- Messages
- 2
So this is one IP scenario I've searched high and low for and can't believe I'm this "lucky" to be the only one looking for it. I have a long list of IP's (spanning across multiple c class or /24's) and it also has "ranges" in it and I'd like to have the ranges split out into single IP's. However, the reason I used "ranges" in quotes is because they are not the usual IP range format. My list looks like this:
111.16.2.20
111.16.2.44-111.16.2.46
111.16.2.50
111.16.2.58-111.16.2.59
111.16.2.94
111.16.2.114
111.16.2.116-111.16.2.120
Ideally formatted to:
111.16.2.20
111.16.2.44
111.16.2.45
111.16.2.46
111.16.2.50
111.16.2.58
111.16.2.59
111.16.2.94
111.16.2.114
111.16.2.116
111.16.2.117
111.16.2.118
111.16.2.119
111.16.2.120
I'm not even sure how to approach the fill in the missing Ip's from the range to get them added back in. Ideas?
Thanks!
111.16.2.20
111.16.2.44-111.16.2.46
111.16.2.50
111.16.2.58-111.16.2.59
111.16.2.94
111.16.2.114
111.16.2.116-111.16.2.120
Ideally formatted to:
111.16.2.20
111.16.2.44
111.16.2.45
111.16.2.46
111.16.2.50
111.16.2.58
111.16.2.59
111.16.2.94
111.16.2.114
111.16.2.116
111.16.2.117
111.16.2.118
111.16.2.119
111.16.2.120
I'm not even sure how to approach the fill in the missing Ip's from the range to get them added back in. Ideas?
Thanks!