1
0
mirror of git://git.suckless.org/sbase synced 2024-12-22 23:13:44 +00:00

Finish up hostname(1)

This commit is contained in:
FRIGN 2015-02-01 00:03:03 +01:00
parent bcf264f9cd
commit 01195fa7e5
2 changed files with 7 additions and 4 deletions

2
README
View File

@ -34,7 +34,7 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support,
#* fold yes none
=* grep yes none
=* head yes none
= hostname non-posix none
=* hostname non-posix none
=* kill yes none
=* link yes none
=* ln yes none

View File

@ -3,13 +3,16 @@
.Os sbase
.Sh NAME
.Nm hostname
.Nd set or print name of current host system
.Nd set or print host name
.Sh SYNOPSIS
.Nm
.Op Ar name
.Sh DESCRIPTION
.Nm
sets or prints the name of the current host. If no argument is given,
the name of the current host is printed.
sets the current host name to
.Ar name .
If no
.Ar name
is given, the current host name is written to stdout.
.Sh SEE ALSO
.Xr hostname 7