noxz-sites

A collection of a builder and various scripts creating the noxz.tech sites
git clone https://noxz.tech/git/noxz-sites.git
Log | Files | README | LICENSE

noxz.tech/software/cidr2ip/index.www_bak
1cidr2ip
2=======
3usage: **cidr2ip** <u>cidr</u>
4
5cidr2ip is a small and simple program for converting a CIDR into ip (mask).
6
7Installation
8------------
9Edit config.mk to match your local setup (cidr2ip is installed into the
10*/usr/local* namespace by default), then simply enter the following command to
11install (if necessary as root):
12
13    make clean install
14
15Example usage of cidr2ip
16------------------------
17Print a complete CIDR to ip conversion table
18
19    for i in {1..32}; do
20        printf '\\%-5s' $i
21        cidr2ip $i
22    done
23
24get source [here](//noxz.tech/git/cidr2ip.git).