Home | History | Annotate | only in /src/bin/hostname
History log of /src/bin/hostname
RevisionDateAuthorComments
 1.8 20-Jul-1997  christos branches: 1.8.112;
Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
now that all /bin has been cleaned.
 1.7 20-Jul-1997  christos Add WARNS=1
 1.6 21-Mar-1995  cgd convert to new RCS id conventions.
 1.5 22-Sep-1994  mycroft Merge 4.4-Lite version.
 1.4 01-Aug-1993  mycroft Add RCS identifiers.
 1.3 23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2 22-Mar-1993  cgd added rcs ids to all files
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 22-Sep-1994  mycroft Import original 4.4-Lite version.
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8.112.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.8.112.1 21-Apr-2020  martin Sync with HEAD
 1.20 13-Feb-2014  elric branches: 1.20.26;
Remove options added in 1.18, commitid: UhxHPgtT2Pzeg4Yw due to some
level of controversy about their inclusion.
 1.19 19-Jul-2013  wiz Sort.
 1.18 19-Jul-2013  roy Add the following options
-A Display the FQDN of each address on all interfaces.
-a Display alias name(s) of the host.
-d Display the DNS domain.
-f Display the FQDN for the hostname.
-I Display each IP address on all interfaces.
-i Display the IP address(es) for the hostname.
 1.17 07-Aug-2003  agc branches: 1.17.66;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.
 1.16 25-Sep-2002  wiz New policy: New sentences start on a new line.
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.
 1.15 27-Feb-2001  mason Update to reflect reality - s,/etc/netstart,/etc/rc.d/network,
 1.14 22-Mar-1999  garbled More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.
 1.13 20-Oct-1997  enami Fix .Nm usage.
 1.12 23-Jun-1997  pk Xr to [gs]ethostname in section 3 (from PR#3627)
 1.11 07-Sep-1995  jtc Sync with 4.4lite2
 1.10 25-Jul-1995  jtc Use "utility" instead of "command". Modern definitions of these terms
are distinct (See POSIX.2 glossary).

A utility is a executable, script or shell builtin; while a command
can be any of those things plus lists, pipelines, compound commands
(if, for, while) and shell function definitions.
 1.9 21-Mar-1995  cgd convert to new RCS id conventions.
 1.8 26-Sep-1994  mycroft Small grammar fix.
 1.7 22-Sep-1994  mycroft Reference domainname(1), and check for too many arguments.
 1.6 22-Sep-1994  mycroft Merge 4.4-Lite version.
 1.5 10-Sep-1993  jtc Include appropriate header files to bring prototypes into scope.
Cleaned up man page.
 1.4 01-Aug-1993  mycroft Add RCS indentifiers.
 1.3 23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2 22-Mar-1993  cgd added rcs ids to all files
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.3 07-Sep-1995  jtc imported from 44lite2
 1.1.1.2 22-Sep-1994  mycroft Import original 4.4-Lite version.
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.17.66.1 23-Jul-2013  riastradh sync with HEAD
 1.20.26.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.20.26.1 21-Apr-2020  martin Sync with HEAD
 1.21 13-Feb-2014  elric branches: 1.21.26;
Remove options added in 1.18, commitid: UhxHPgtT2Pzeg4Yw due to some
level of controversy about their inclusion.
 1.20 19-Jul-2013  christos fix error handling.
 1.19 19-Jul-2013  wiz Sort.
 1.18 19-Jul-2013  roy Add the following options
-A Display the FQDN of each address on all interfaces.
-a Display alias name(s) of the host.
-d Display the DNS domain.
-f Display the FQDN for the hostname.
-I Display each IP address on all interfaces.
-i Display the IP address(es) for the hostname.
 1.17 29-Aug-2011  joerg branches: 1.17.12;
Use __dead
 1.16 20-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
 1.15 07-Aug-2003  agc branches: 1.15.32;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.
 1.14 16-Sep-2001  wiz ANSIfy and KNF fixes, use {g,s}etprogname. Patch by Petri Koistinen.
 1.13 28-Jul-1998  mycroft Delint.
 1.12 06-Jul-1998  mrg - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
 1.11 20-Jul-1997  christos Add WARNS=1
 1.10 07-Sep-1995  jtc Sync with 4.4lite2
 1.9 21-Mar-1995  cgd convert to new RCS id conventions.
 1.8 26-Sep-1994  mycroft Make the usage messages more closely match the man pages.
 1.7 22-Sep-1994  mycroft Reference domainname(1), and check for too many arguments.
 1.6 22-Sep-1994  mycroft Merge 4.4-Lite version.
 1.5 10-Sep-1993  jtc Include appropriate header files to bring prototypes into scope.
Cleaned up man page.
 1.4 01-Aug-1993  mycroft Add RCS identifiers.
 1.3 23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2 22-Mar-1993  cgd added rcs ids to all files
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.3 07-Sep-1995  jtc imported from 44lite2
 1.1.1.2 22-Sep-1994  mycroft Import original 4.4-Lite version.
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.15.32.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.17.12.1 23-Jul-2013  riastradh sync with HEAD
 1.21.26.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.21.26.1 21-Apr-2020  martin Sync with HEAD

RSS XML Feed