cidr2ip

Small and simple program for converting a CIDR into a netmask
git clone https://git.noxz.tech/cidr2ip.git
Log | README | LICENSE

1cidr2ip
2======
3`cidr2ip` is a small and simple program for converting a CIDR into ip (mask).
4
5Installation
6------------
7Edit config.mk to match your local setup (cidr2ip is installed into the
8/usr/local namespace by default), then simply enter the following command to
9install (if necessary as root):
10
11    make clean install
12
13Example usage of cidr2ip
14------------------------
15Print a complete CIDR to ip conversion table
16
17    for i in $(seq 1 32); do printf '\\%-5s' $i; cidr2ip $i;done
18