commit 1c93b03a857c007350e5f4f1c8edef60766f74b0 parent 14660213051482328929c10a330b4e83610c833b Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 30 Jan 2015 22:15:57 +0100 hostname.1: convert to mandoc Diffstat:
M | hostname.1 | | | 25 | ++++++++++++++----------- |
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/hostname.1 b/hostname.1 @@ -1,12 +1,15 @@ -.TH HOSTNAME 1 sbase\-VERSION -.SH NAME -hostname \- set or print name of current host system -.SH SYNOPSIS -.B hostname -.I [name] -.SH DESCRIPTION -.B hostname -sets or prints the name of the current host. If no argument is given, +.Dd January 30, 2015 +.Dt HOSTNAME 1 sbase\-VERSION +.Os +.Sh NAME +.Nm hostname +.Nd set or print name of current host system +.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. -.SH SEE ALSO -.IR hostname (7) +.Sh SEE ALSO +.Xr hostname 7