summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1998-05-13 07:47:35 +0000
committercharnier <charnier@FreeBSD.org>1998-05-13 07:47:35 +0000
commitde95e3d75f2db3d431c3c3f16ce2af32be4cc69d (patch)
treecacdc41f65099eb70e164fc73efe1904768fcb58 /bin
parentf18d7e3d59e6e3c77c1a4c2ba97945d24f5454f9 (diff)
downloadFreeBSD-src-de95e3d75f2db3d431c3c3f16ce2af32be4cc69d.zip
FreeBSD-src-de95e3d75f2db3d431c3c3f16ce2af32be4cc69d.tar.gz
Correct use of .Nm. Add rcsid.
Diffstat (limited to 'bin')
-rw-r--r--bin/hostname/hostname.18
-rw-r--r--bin/hostname/hostname.c8
-rw-r--r--bin/kill/kill.110
-rw-r--r--bin/kill/kill.c8
4 files changed, 19 insertions, 15 deletions
diff --git a/bin/hostname/hostname.1 b/bin/hostname/hostname.1
index 2abb457..94aa27c 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 98cea7d..d8a81f4 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>
diff --git a/bin/kill/kill.1 b/bin/kill/kill.1
index 9458839..1709674 100644
--- a/bin/kill/kill.1
+++ b/bin/kill/kill.1
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)kill.1 8.2 (Berkeley) 4/28/95
-.\" $Id$
+.\" $Id: kill.1,v 1.6 1997/02/22 14:03:44 peter Exp $
.\"
.Dd April 28, 1995
.Dt KILL 1
@@ -110,15 +110,15 @@ ALRM (alarm clock)
TERM (software termination signal)
.El
.Pp
-.Nm
+.Nm Kill
is a built-in to
.Xr csh 1 ;
it allows job specifiers of the form ``%...'' as arguments
so process id's are not as often used as
-.Nm kill
+.Nm
arguments.
See
-.Xr csh 1
+.Xr csh 1
for details.
.Sh SEE ALSO
.Xr csh 1 ,
@@ -134,7 +134,7 @@ function is expected to be
compatible.
.Sh HISTORY
A
-.Nm kill
+.Nm
command appeared in
.At v6 .
.Sh BUGS
diff --git a/bin/kill/kill.c b/bin/kill/kill.c
index 9ea3cb8..e0ad940 100644
--- a/bin/kill/kill.c
+++ b/bin/kill/kill.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: kill.c,v 1.8 1997/06/06 06:36:20 charnier Exp $
*/
#ifndef lint
@@ -40,7 +38,11 @@ static char const copyright[] =
#endif /* not lint */
#ifndef lint
-static char const sccsid[] = "@(#)kill.c 8.4 (Berkeley) 4/28/95";
+#if 0
+static char sccsid[] = "@(#)kill.c 8.4 (Berkeley) 4/28/95";
+#endif
+static const char rcsid[] =
+ "$Id$";
#endif /* not lint */
#include <ctype.h>
OpenPOWER on IntegriCloud