From 842d09dc8d4363caae6c99598cab2420ac4b5143 Mon Sep 17 00:00:00 2001 From: Erik Troan Date: Tue, 10 Mar 1998 15:47:15 +0000 Subject: added man page --- src/ipcalc.1 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/ipcalc.1 diff --git a/src/ipcalc.1 b/src/ipcalc.1 new file mode 100644 index 00000000..782f8f8e --- /dev/null +++ b/src/ipcalc.1 @@ -0,0 +1,29 @@ +.TH IPCALC 1 "Red Hat Software" "RHS" \" -*- nroff -*- +.SH NAME +ipcalc \- perform simple manipulation of ip addresses +.SH SYNOPSIS +.B ipcalc +\fI[--hostname] [--broadcast] [--netmask] \fBip \fI[netmask]\fR + +.SH DESCRIPTION +\fBipcalc\fR provides a simple way to find the broadcast address, netmask, +or hostname for a given IP address and netmask (no netmask is needed if +only the hostname is requested). The various options specify what information +\fBipcalc\fR should display on standard out. Multiple options may be +specified. + +.SH OPTIONS +.TP +.IP \fI--broadcast\fR +Display the broadcast address for the given ip address and netmask. + +.IP \fI--hostname\fR +Display the hostname for the given ip address. + +.IP \fI--network\fR +Display the network address for the given ip address and netmask. + +.SH AUTHOR +.nf +Erik Troan +.fi -- cgit v1.2.1