$ git clone https://gitlab.com/prips/prips.git
$ cd prips
$ make
$ make test
prove t
t/01-cidr.t ...... ok
t/02-range.t ..... ok
t/03-skip.t ...... ok
t/04-format.t .... ok
t/05-except.t .... ok
t/06-cidrize.t ... ok
t/07-features.t .. skipped: The feature-check tool does not seem to be present
All tests successful.
Files=7, Tests=74, 1 wallclock secs (0.06 usr 0.02 sys + 0.34 cusr 0.12 csys =0.54 CPU)
Result: PASS
$ sudo make install
$ hash-r
pripsの使用例
まずはヘルプを見てみます。
$ prips -h
usage: prips [options]<start end | CIDR block>-cprint range in CIDR notation-d<x>set the delimiter to the character with ASCII code 'x'
where 0<= x <=255-h display this help message and exit-f<x>set the format of addresses (hex, dec, or dot)-i<x>set the increment to 'x'-e<x.x.x,x.x> exclude a range from the output, e.g. -e ..4. will
not print 192.168.4.[0-255]
prips --help | --version | --features
Report bugs to Peter Pentchev <roam@ringlet.net>
# wget https://github.com/glpi-project/glpi-agent/releases/download/1.2/glpi-agent-1.2-linux-installer.pl# perl glpi-agent-1.2-linux-installer.pl --install
Not supported linux distribution