note
taint
Firstly; allow me to apologize for my seeming incoherent replies. But as I noted in the OP,
the script(s) I'm currently using to help automate the process, must be responded to, anywhere from 60 - 90 seconds. So it makes it extremely difficult carry out a thought process, let alone, type them in a box. It plays hell, when trying to coordinate a group of routines for a Perl script. Hence my plea for help.<p>
While I'm <b>extremely</b> grateful for the solution @anonymous, I must admit I'm also a bit disappointed. As I had hoped to solve it with your earlier hints. But not <i>that</i> disappointed! :)</p><p>Thanks!</p>
<p>Here's what I've used
<code>
#!/usr/bin/perl -w
use Modern::Perl;
use Net::CIDR qw/ cidr2octets /;
while(<STDIN>){
s{\s+$}{};
print "$_\n" for cidr2octets($_);
}
__END__
</code>
Which allows me to
<code>
$ unpack-cidr.pl < packed-cidr > unpacked-cidr
</code>
Once again, I'm really grateful for your taking the time to respond with the illusive logic I was seeking. This is all part of a much larger process, and this missing piece of the puzzle was just what I needed to put it all together. I'll post it all here, when I've completed it. As I suspect others will also gain from it.</p>
<p>Thanks again!</p>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-977156">
<p>
¡λɐp ʇɑəɹ⅁ ɐ əʌɐɥ puɐ ʻꜱdləɥ ꜱᴉɥʇ ədoH
</p>
</div></div>
1125183
1125193