NETCALC

NAME

netcalc - netork calculations command line utility

SYNOPSIS

netcalc [OPTIONS] <address> [ <address> [ ... <address> ] ]

netcalc [OPTIONS] <widget> [OPTIONS] [<args>]

netcalc-widget [OPTIONS]

netcalcwidget [OPTIONS]

netwidget [OPTIONS]

DESCRIPTION

The netcalc utility is a command line wrapper for select functions in the the Network Calculations Library.

If a widget is not specified, then the bavior of netcalc is similar to the info widget.

OPTIONS

-h, --help

print usage information and exit

-q, --quiet, --silent

suppress warnings and excess messages

-V, --version

print version number and exit

-v, --verbose

print verbose messages

WIDGETS

info

displays information inferred from a given address or network and calculates the inclusive supernet if more than one address or network is specified.

match

processes a list of networks and find the smallest subnet within the list which contains the specified address.

printf

formats an address according to the format specified on the command line.

superblock

calculates the smallest supernets which contain all of the addresses provided.

sort

processes a list of networks and displays the sorted networks.

syntaxes

displays address formats accepted by the utility.

test

evaluates two addresses or networks using the specified expression.

tree

processes a list of networks and displays the sorted networks with subnets indented.

SEE ALSO

netcalc-info(1), netcalc-match(1), netcalc-printf(1), netcalc-superblock(1), netcalc-sort(1), netcalc-test(1), netcalc-tree(1), libnetcalc(3), netcalc-syntaxes(5)

AUTHOR

David M. Syzdek <david@syzdek.net>

ACKNOWLEDGEMENTS

Network Calculations Library is developed and maintained by David M. Syzdek <david@syzdek.net>.