Correct use of .Nm. Add rcsid.

This commit is contained in:
charnier 1998-05-13 07:47:35 +00:00
parent f18d7e3d59
commit de95e3d75f
4 changed files with 19 additions and 15 deletions

View File

@ -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 .

View File

@ -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>

View File

@ -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

View File

@ -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>