Use "utility" instead of "command". Modern definitions of these terms

are distinct (See POSIX.2 glossary).

A utility is a executable, script or shell builtin; while a command
can be any of those things plus lists, pipelines, compound commands
(if, for, while) and shell function definitions.
This commit is contained in:
jtc 1995-07-25 19:36:36 +00:00
parent 1c13dcfdd8
commit 23e6aab105
16 changed files with 35 additions and 35 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: cat.1,v 1.9 1995/03/21 09:01:59 cgd Exp $ .\" $NetBSD: cat.1,v 1.10 1995/07/25 19:36:36 jtc Exp $
.\" .\"
.\" Copyright (c) 1989, 1990, 1993 .\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -120,4 +120,4 @@ will cause the original data in file1 to be destroyed!
.Sh HISTORY .Sh HISTORY
A A
.Nm .Nm
command appeared in Version 6 AT&T UNIX. utility appeared in Version 6 AT&T UNIX.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: cp.1,v 1.8 1995/07/25 18:34:15 jtc Exp $ .\" $NetBSD: cp.1,v 1.9 1995/07/25 19:36:45 jtc Exp $
.\" .\"
.\" Copyright (c) 1989, 1990, 1993, 1994 .\" Copyright (c) 1989, 1990, 1993, 1994
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -208,6 +208,6 @@ or fifo's.
.Sh STANDARDS .Sh STANDARDS
The The
.Nm cp .Nm cp
command is expected to be utility is expected to be
.St -p1003.2 .St -p1003.2
compatible. compatible.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: date.1,v 1.8 1995/03/21 09:03:48 cgd Exp $ .\" $NetBSD: date.1,v 1.9 1995/07/25 19:36:49 jtc Exp $
.\" .\"
.\" Copyright (c) 1980, 1990, 1993 .\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -228,5 +228,5 @@ will be running on
.Sh STANDARDS .Sh STANDARDS
The The
.Nm date .Nm date
command is expected to be compatible with utility is expected to be compatible with
.St -p1003.2 . .St -p1003.2 .

View File

@ -1,4 +1,4 @@
.\" $NetBSD: df.1,v 1.10 1995/03/21 09:04:15 cgd Exp $ .\" $NetBSD: df.1,v 1.11 1995/07/25 19:36:53 jtc Exp $
.\" .\"
.\" Copyright (c) 1989, 1990, 1993 .\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -115,5 +115,5 @@ size block.
.Sh HISTORY .Sh HISTORY
A A
.Nm df .Nm df
command appeared in utility appeared in
.At v6 . .At v6 .

View File

@ -1,4 +1,4 @@
.\" $NetBSD: domainname.1,v 1.6 1995/03/21 09:04:21 cgd Exp $ .\" $NetBSD: domainname.1,v 1.7 1995/07/25 19:36:57 jtc Exp $
.\" .\"
.\" Copyright (c) 1983, 1988, 1990, 1993 .\" Copyright (c) 1983, 1988, 1990, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -57,11 +57,11 @@ time.
.Sh HISTORY .Sh HISTORY
The The
.Nm domainname .Nm domainname
command is derived from the utility is derived from the
.Nm hostname .Nm hostname
command, which appeared in utility , which appeared in
.Bx 4.2 . .Bx 4.2 .
The The
.Nm domainname .Nm domainname
command appeared in utility appeared in
.Nx 0.8 . .Nx 0.8 .

View File

@ -1,4 +1,4 @@
.\" $NetBSD: hostname.1,v 1.9 1995/03/21 09:05:47 cgd Exp $ .\" $NetBSD: hostname.1,v 1.10 1995/07/25 19:37:01 jtc Exp $
.\" .\"
.\" Copyright (c) 1983, 1988, 1990, 1993 .\" Copyright (c) 1983, 1988, 1990, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -65,5 +65,5 @@ name.
.Sh HISTORY .Sh HISTORY
The The
.Nm hostname .Nm hostname
command appeared in utility appeared in
.Bx 4.2 . .Bx 4.2 .

View File

@ -1,4 +1,4 @@
.\" $NetBSD: ln.1,v 1.9 1995/03/21 09:06:07 cgd Exp $ .\" $NetBSD: ln.1,v 1.10 1995/07/25 19:37:04 jtc Exp $
.\" .\"
.\" Copyright (c) 1980, 1990, 1993 .\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -129,5 +129,5 @@ The links made will have the same name as the files being linked to.
.Sh HISTORY .Sh HISTORY
A A
.Nm ln .Nm ln
command appeared in utility appeared in
.At v6 . .At v6 .

View File

@ -1,4 +1,4 @@
.\" $NetBSD: ls.1,v 1.11 1995/03/21 09:06:27 cgd Exp $ .\" $NetBSD: ls.1,v 1.12 1995/07/25 19:37:08 jtc Exp $
.\" .\"
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994 .\" Copyright (c) 1980, 1990, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -338,11 +338,11 @@ specification.
.Sh HISTORY .Sh HISTORY
An An
.Nm ls .Nm ls
command appeared in utility appeared in
.At v6 . .At v6 .
.Sh STANDARDS .Sh STANDARDS
The The
.Nm ls .Nm ls
command is expected to be a superset of the utility is expected to be a superset of the
.St -p1003.2 .St -p1003.2
specification. specification.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: mkdir.1,v 1.8 1995/06/25 21:44:34 mycroft Exp $ .\" $NetBSD: mkdir.1,v 1.9 1995/07/25 19:37:13 jtc Exp $
.\" .\"
.\" Copyright (c) 1989, 1990, 1993 .\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -63,7 +63,7 @@ Set the file permission bits of the final created directory to
the specified mode. the specified mode.
The mode argument can be in any of the formats specified to the The mode argument can be in any of the formats specified to the
.Xr chmod 1 .Xr chmod 1
command. utility.
If a symbolic mode is specified, the operation characters If a symbolic mode is specified, the operation characters
.Dq + .Dq +
and and

View File

@ -1,4 +1,4 @@
.\" $NetBSD: mt.1,v 1.4 1995/03/21 06:57:46 cgd Exp $ .\" $NetBSD: mt.1,v 1.5 1995/07/25 19:37:16 jtc Exp $
.\" .\"
.\" Copyright (c) 1981, 1990, 1993 .\" Copyright (c) 1981, 1990, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -132,6 +132,6 @@ Raw magnetic tape interface
.Sh HISTORY .Sh HISTORY
The The
.Nm mt .Nm mt
command appeared in utility appeared in
.Bx 4.3 . .Bx 4.3 .
.\" mt.1: mtio(4) missing .\" mt.1: mtio(4) missing

View File

@ -1,4 +1,4 @@
.\" $NetBSD: pwd.1,v 1.8 1995/03/21 09:08:16 cgd Exp $ .\" $NetBSD: pwd.1,v 1.9 1995/07/25 19:37:21 jtc Exp $
.\" .\"
.\" Copyright (c) 1990, 1993 .\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -53,7 +53,7 @@ The pwd utility exits 0 on success, and >0 if an error occurs.
.Sh STANDARDS .Sh STANDARDS
The The
.Nm pwd .Nm pwd
command is expected to be utility is expected to be
.St -p1003.2 .St -p1003.2
compatible . compatible .
.Sh SEE ALSO .Sh SEE ALSO

View File

@ -1,4 +1,4 @@
.\" $NetBSD: rcp.1,v 1.5 1995/03/21 08:19:04 cgd Exp $ .\" $NetBSD: rcp.1,v 1.6 1995/07/25 19:37:25 jtc Exp $
.\" .\"
.\" Copyright (c) 1983, 1990, 1993 .\" Copyright (c) 1983, 1990, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -136,7 +136,7 @@ are on the current machine.
.Sh HISTORY .Sh HISTORY
The The
.Nm rcp .Nm rcp
command appeared in utility appeared in
.Bx 4.2 . .Bx 4.2 .
The version of The version of
.Nm rcp .Nm rcp

View File

@ -1,4 +1,4 @@
.\" $NetBSD: rm.1,v 1.7 1995/03/21 09:08:22 cgd Exp $ .\" $NetBSD: rm.1,v 1.8 1995/07/25 19:37:30 jtc Exp $
.\" .\"
.\" Copyright (c) 1990, 1993, 1994 .\" Copyright (c) 1990, 1993, 1994
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -152,6 +152,6 @@ not the standard error output.
.Sh STANDARDS .Sh STANDARDS
The The
.Nm rm .Nm rm
command is expected to be utility is expected to be
.St -p1003.2 .St -p1003.2
compatible. compatible.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: rmdir.1,v 1.9 1995/03/21 09:08:29 cgd Exp $ .\" $NetBSD: rmdir.1,v 1.10 1995/07/25 19:37:35 jtc Exp $
.\" .\"
.\" Copyright (c) 1990, 1993 .\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -89,6 +89,6 @@ An error occurred.
.Sh STANDARDS .Sh STANDARDS
The The
.Nm rmdir .Nm rmdir
command is expected to be utility is expected to be
.St -p1003.2 .St -p1003.2
compatible. compatible.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: sleep.1,v 1.8 1995/03/21 09:11:10 cgd Exp $ .\" $NetBSD: sleep.1,v 1.9 1995/07/25 19:37:43 jtc Exp $
.\" .\"
.\" Copyright (c) 1990, 1993, 1994 .\" Copyright (c) 1990, 1993, 1994
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -48,7 +48,7 @@
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm sleep .Nm sleep
command utility
suspends execution for a minimum of suspends execution for a minimum of
.Ar seconds . .Ar seconds .
.Nm Sleep .Nm Sleep

View File

@ -1,4 +1,4 @@
.\" $NetBSD: stty.1,v 1.7 1995/03/21 09:11:27 cgd Exp $ .\" $NetBSD: stty.1,v 1.8 1995/07/25 19:37:51 jtc Exp $
.\" .\"
.\" Copyright (c) 1990, 1993, 1994 .\" Copyright (c) 1990, 1993, 1994
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -572,7 +572,7 @@ utility exits with a value of 0 if successful, and >0 if an error occurs.
.Sh STANDARDS .Sh STANDARDS
The The
.Nm stty .Nm stty
function is expected to be utility is expected to be
.St -p1003.2 .St -p1003.2
compatible. The flags compatible. The flags
.Fl e .Fl e