cidr2ip

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

README
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