From 607e48e7b59a6ba87e86a118fa4d808888b918df Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Wed, 19 May 2004 10:44:24 +0000 Subject: [PATCH] Language and markup polishing. --- usr.bin/env/env.1 | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/usr.bin/env/env.1 b/usr.bin/env/env.1 index cc5864e091ab..7e25eceef699 100644 --- a/usr.bin/env/env.1 +++ b/usr.bin/env/env.1 @@ -49,7 +49,7 @@ .Sh DESCRIPTION The .Nm -utility executes +utility executes another .Ar utility after modifying the environment as specified on the command line. @@ -57,23 +57,25 @@ The option .Ar name Ns = Ns Ar value specifies an environment variable, -.Ar name , +.Ar name , with a value of -.Ar value . +.Ar value . .Pp The options are as follows: .Bl -tag -width indent .It Fl i Execute the .Ar utility -with only those environment values specified. +with only those environment variables specified. The environment inherited by .Nm is ignored completely. .El .Pp -If no utility is specified, +If no +.Ar utility +is specified, .Nm prints out the names and values of the variables in the environment, with one name/value pair per line. @@ -81,13 +83,13 @@ of the variables in the environment, with one name/value pair per line. The .Nm utility is sometimes useful with the -.Dq Li #! +.Ql #! construct (see .Xr execve 2 ) . The only difference between .Dq Li #!/usr/local/bin/foo and -.Dq Li "#!/usr/bin/env\ /usr/local/bin/foo" +.Dq Li "#!/usr/bin/env /usr/local/bin/foo" is that the latter works even if .Pa /usr/local/bin/foo is itself interpreted. @@ -109,10 +111,10 @@ if the name contains no characters. .Sh DIAGNOSTICS .Ex -std -An exit status of 126 indicates +An exit status of 126 indicates that .Ar utility was found, but could not be executed. -An exit status of 127 indicates +An exit status of 127 indicates that .Ar utility could not be found. .Sh COMPATIBILITY @@ -140,5 +142,6 @@ utility conforms to .Sh BUGS The .Nm -utility doesn't handle utility arguments with equal (``='') signs in their -names, for obvious reasons. +utility does not handle utility arguments with equal signs +.Pq Ql = +in their names, for obvious reasons.