diff options
author | ru <ru@FreeBSD.org> | 2004-05-19 10:44:24 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-05-19 10:44:24 +0000 |
commit | bd0a8237ba0cedce8ec22df9f68a4c7993b4121f (patch) | |
tree | ed874d1ac8420201ff03a587ac94860839be9c71 /usr.bin/env/env.1 | |
parent | 4c01ec9500ac6d9393e0de6acbdac58b56f2c5b2 (diff) | |
download | FreeBSD-src-bd0a8237ba0cedce8ec22df9f68a4c7993b4121f.zip FreeBSD-src-bd0a8237ba0cedce8ec22df9f68a4c7993b4121f.tar.gz |
Language and markup polishing.
Diffstat (limited to 'usr.bin/env/env.1')
-rw-r--r-- | usr.bin/env/env.1 | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/usr.bin/env/env.1 b/usr.bin/env/env.1 index cc5864e..7e25ece 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. |