From e03fb12529ca70bb4e2db076ad98cd3a2729c19a Mon Sep 17 00:00:00 2001 From: tjr Date: Wed, 19 Jun 2002 07:09:44 +0000 Subject: Indicate that env(1) allows you to supply arguments to the utility it executes in the usage() message and manual page. Use "utility" instead of "command" in both places to emphasise that shell builtins etc. will not work, and to be consistent with the terminology used by POSIX. PR: 39210 Submitted by: Danny J. Zerkel MFC after: 1 week --- usr.bin/printenv/printenv.1 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'usr.bin/printenv/printenv.1') diff --git a/usr.bin/printenv/printenv.1 b/usr.bin/printenv/printenv.1 index cc9a15d..a30bb5b 100644 --- a/usr.bin/printenv/printenv.1 +++ b/usr.bin/printenv/printenv.1 @@ -47,7 +47,7 @@ .Op Fl .Op Fl i .Op Ar name Ns = Ns Ar value ... -.Op Ar command +.Op Ar utility Oo Ar argument ... Oc .Sh DESCRIPTION The .Nm @@ -68,7 +68,7 @@ manual page. The .Nm env utility executes -.Ar command +.Ar utility after modifying the environment as specified on the command line. The option @@ -83,7 +83,7 @@ The options are as follows: .Bl -tag -width indent .It Fl i Execute the -.Ar command +.Ar utility with only those environment values specified. The environment inherited by @@ -95,7 +95,7 @@ Identical to the option, available for backward compatibility. .El .Pp -If no command is specified, +If no utility is specified, .Nm env prints out the names and values of the variables in the environment, with one name/value pair per line. @@ -124,10 +124,10 @@ as well as set up the environment as desired. .Pp .Ex -std env An exit status of 126 indicates -.Ar command +.Ar utility was found, but could not be executed. An exit status of 127 indicates -.Ar command +.Ar utility could not be found. .Sh SEE ALSO .Xr csh 1 , @@ -147,5 +147,5 @@ command appeared in .Sh BUGS The .Nm env -utility doesn't handle commands with equal (``='') signs in their +utility doesn't handle utility arguments with equal (``='') signs in their names, for obvious reasons. -- cgit v1.1