ipaddr.tgz contains the following files:
drwxr-xr-x ott/users 0 2001-12-02 00:25 ipaddr/ -rw-r--r-- ott/users 17982 2001-11-28 19:37 ipaddr/COPYING -rw-r--r-- ott/users 366 2001-11-28 19:37 ipaddr/INSTALL -rw-r--r-- ott/users 1339 2001-11-28 19:38 ipaddr/ipaddr.1 -rw-r--r-- ott/users 4161 2001-11-28 19:38 ipaddr/ipaddr.c -rw-r--r-- ott/users 1552 2001-12-02 00:25 ipaddr/Makefile -rw-r--r-- ott/users 299 2001-11-28 19:37 ipaddr/README
from the README:
ipaddr's only purpose is to show the IP-address of an interface, nothing more. My first thought was to do this with an additional option in ifconfig(8). I backed off very fast after having looked at the source, then I wrote this small C-program.
from the manpage:
ipaddr(1) ipaddr(1)
NAME
ipaddr - show the IP-address of an interface
SYNOPSIS
ipaddr [-6] [-v] interface-name
DESCRIPTION
ipaddr shows the the IP-address of the specified interface
interface-name.
For other things like showing the netmask or setting the
IP-address, use ifconfig(8).
OPTIONS
-6
show the IPv6 address of the interface
-v
show the program version and exit
SEE ALSO
ifconfig(8)
AUTHOR
ipaddr and this manpage were written by Joachim Ott
<ott@ardala.han.de>
COPYRIGHT
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any
later version.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public
License along with this program; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA
02139, USA.
ipaddr(1)