summaryrefslogtreecommitdiff
path: root/bin/hostname
AgeCommit message (Collapse)Author
2014-02-13Remove options added in 1.18, commitid: UhxHPgtT2Pzeg4Yw due to someelric
level of controversy about their inclusion.
2013-07-19fix error handling.christos
2013-07-19Sort.wiz
2013-07-19Add the following optionsroy
-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.
2011-08-29Use __deadjoerg
2008-07-20Remove the \n and tabs from the __COPYRIGHT() strings.lukem
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22249, verified by myself.
2002-09-25New policy: New sentences start on a new line.wiz
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.
2001-09-16ANSIfy and KNF fixes, use {g,s}etprogname. Patch by Petri Koistinen.wiz
2001-02-27Update to reflect reality - s,/etc/netstart,/etc/rc.d/network,mason
1999-03-22More and more .Os cleanups. .Os is defined in the tmac.doc-common file,garbled
so we shouldn't override it with versions in the manpages. Many more to come.
1998-07-28Delint.mycroft
1998-07-06- use an array MAXHOSTNAMELEN+1 size to hold hostnamesmrg
- 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
1997-10-20Fix .Nm usage.enami
1997-07-20Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.incchristos
now that all /bin has been cleaned.
1997-07-20Add WARNS=1christos
1997-06-23Xr to [gs]ethostname in section 3 (from PR#3627)pk
1995-09-07Sync with 4.4lite2jtc
1995-07-25Use "utility" instead of "command". Modern definitions of these termsjtc
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.
1995-03-21convert to new RCS id conventions.cgd
1994-09-26Small grammar fix.mycroft
1994-09-26Make the usage messages more closely match the man pages.mycroft
1994-09-22Reference domainname(1), and check for too many arguments.mycroft
1994-09-22Merge 4.4-Lite version.mycroft
1993-09-10Include appropriate header files to bring prototypes into scope.jtc
Cleaned up man page.
1993-08-01Add RCS identifiers.mycroft
1993-08-01Add RCS indentifiers.mycroft
1993-08-01Add RCS identifiers.mycroft
1993-03-23changed "Id" to "Header" for rcsidscgd
1993-03-22added rcs ids to all filescgd
1993-03-21initial import of 386bsd-0.1 sourcescgd