Mercurial > hg > anonet-resdb
view scripts/cidr2hex @ 527:4a82f55a6481 draft
d3v1150m471c was here
author | d3v1150m471c <d3v1150m471c@d3v11m4ch1n3> |
---|---|
date | Wed, 06 Jul 2011 00:20:37 -0500 |
parents | 31e3b4edf502 |
children | 2f57d4d36759 |
line wrap: on
line source
#!/bin/sh if [ x"$1" = x ]; then echo "Usage: $0 <cidr>" >&2; exit 255 fi ./scripts/ip2hex "$(./scripts/cidr2ip "$1")"