Commit Graph

31 Commits

Author SHA1 Message Date
elric b760f10513 Remove options added in 1.18, commitid: UhxHPgtT2Pzeg4Yw due to some
level of controversy about their inclusion.
2014-02-13 12:00:29 +00:00
christos 248e8c4711 fix error handling. 2013-07-19 15:53:00 +00:00
wiz 29c72c8d8a Sort. 2013-07-19 11:19:23 +00:00
roy 579c771490 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.
2013-07-19 10:34:51 +00:00
joerg 5bb1ddccc2 Use __dead 2011-08-29 14:51:17 +00:00
lukem 2fe2731d3f Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-20 00:52:39 +00:00
agc b5b2954259 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
wiz 14dfaa4b03 New policy: New sentences start on a new line.
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.
2002-09-25 15:18:36 +00:00
wiz 354d883bd4 ANSIfy and KNF fixes, use {g,s}etprogname. Patch by Petri Koistinen. 2001-09-16 13:48:35 +00:00
mason f7df6a3796 Update to reflect reality - s,/etc/netstart,/etc/rc.d/network, 2001-02-27 17:47:22 +00:00
garbled f124765044 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.
1999-03-22 18:25:43 +00:00
mycroft 9dc385beb1 Delint. 1998-07-28 05:31:22 +00:00
mrg 2beab49a06 - 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
1998-07-06 06:45:41 +00:00
enami c3872193cf Fix .Nm usage. 1997-10-20 08:50:59 +00:00
christos 23edbe3557 Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
now that all /bin has been cleaned.
1997-07-20 22:36:20 +00:00
christos 51e9bcec47 Add WARNS=1 1997-07-20 17:34:50 +00:00
pk 3cb5108692 Xr to [gs]ethostname in section 3 (from PR#3627) 1997-06-23 20:37:42 +00:00
jtc f859c958ca Sync with 4.4lite2 1995-09-07 06:28:39 +00:00
jtc 23e6aab105 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.
1995-07-25 19:36:36 +00:00
cgd 49f0ad8601 convert to new RCS id conventions. 1995-03-21 09:01:59 +00:00
mycroft 6a58570d9a Small grammar fix. 1994-09-26 06:53:44 +00:00
mycroft b82fefc7b2 Make the usage messages more closely match the man pages. 1994-09-26 06:53:21 +00:00
mycroft ea92d19cb0 Reference domainname(1), and check for too many arguments. 1994-09-22 09:41:26 +00:00
mycroft 667b5ea158 Merge 4.4-Lite version. 1994-09-22 09:24:46 +00:00
jtc 0eee1ab6c0 Include appropriate header files to bring prototypes into scope.
Cleaned up man page.
1993-09-10 01:24:45 +00:00
mycroft 8542364e07 Add RCS identifiers. 1993-08-01 18:49:50 +00:00
mycroft b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
mycroft 1b9ce7ae24 Add RCS identifiers. 1993-08-01 05:47:31 +00:00
cgd 06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd 346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00