diff options
author | Philippe Charnier <charnier@FreeBSD.org> | 1998-05-13 07:47:35 +0000 |
---|---|---|
committer | Philippe Charnier <charnier@FreeBSD.org> | 1998-05-13 07:47:35 +0000 |
commit | 61c9c5ebeee2ce8f914ca791989dbb7d6b8771c7 (patch) | |
tree | c2c0563d1dbcb87a5651a190dd376ad8ad56047e /bin/hostname | |
parent | 15638d89b50e3c51b48130cbd86c2947cd1e38c0 (diff) |
Notes
Diffstat (limited to 'bin/hostname')
-rw-r--r-- | bin/hostname/hostname.1 | 8 | ||||
-rw-r--r-- | bin/hostname/hostname.c | 8 |
2 files changed, 9 insertions, 7 deletions
diff --git a/bin/hostname/hostname.1 b/bin/hostname/hostname.1 index 2abb45724a76a..94aa27cf3e2d2 100644 --- a/bin/hostname/hostname.1 +++ b/bin/hostname/hostname.1 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)hostname.1 8.2 (Berkeley) 4/28/95 -.\" $Id: hostname.1,v 1.6 1997/02/22 14:03:41 peter Exp $ +.\" $Id: hostname.1,v 1.7 1997/06/03 06:21:45 charnier Exp $ .\" .Dd April 28, 1995 .Dt HOSTNAME 1 @@ -43,7 +43,7 @@ .Op Fl s .Op Ar name-of-host .Sh DESCRIPTION -.Nm +.Nm Hostname prints the name of the current host. The super-user can set the hostname by supplying an argument; this is usually done in the network initialization script @@ -54,13 +54,13 @@ time. Options: .Bl -tag -width flag .It Fl s -Trims off any domain information from the printed +Trim off any domain information from the printed name. .El .Sh SEE ALSO .Xr gethostname 3 .Sh HISTORY The -.Nm hostname +.Nm command appeared in .Bx 4.2 . diff --git a/bin/hostname/hostname.c b/bin/hostname/hostname.c index 98cea7d6d846b..d8a81f46813e8 100644 --- a/bin/hostname/hostname.c +++ b/bin/hostname/hostname.c @@ -29,8 +29,6 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $Id: hostname.c,v 1.7 1997/06/03 06:21:45 charnier Exp $ */ #ifndef lint @@ -40,7 +38,11 @@ static char const copyright[] = #endif /* not lint */ #ifndef lint -static char const sccsid[] = "@(#)hostname.c 8.1 (Berkeley) 5/31/93"; +#if 0 +static char sccsid[] = "@(#)hostname.c 8.1 (Berkeley) 5/31/93"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ #include <sys/param.h> |