diff options
author | ru <ru@FreeBSD.org> | 2001-07-05 06:35:03 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-07-05 06:35:03 +0000 |
commit | ec9340a9eafc940fd8c91ccc634a06f6ccb9080b (patch) | |
tree | 5f23db7b817ff126f501172f891c12cb9e109e22 /usr.bin/printenv | |
parent | b34776a031456fde2294f2f4914a8f33e1dd360f (diff) | |
download | FreeBSD-src-ec9340a9eafc940fd8c91ccc634a06f6ccb9080b.zip FreeBSD-src-ec9340a9eafc940fd8c91ccc634a06f6ccb9080b.tar.gz |
mdoc(7) police: fixed formatting.
Diffstat (limited to 'usr.bin/printenv')
-rw-r--r-- | usr.bin/printenv/printenv.1 | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/usr.bin/printenv/printenv.1 b/usr.bin/printenv/printenv.1 index 4efcf04..b4fb31f 100644 --- a/usr.bin/printenv/printenv.1 +++ b/usr.bin/printenv/printenv.1 @@ -36,7 +36,7 @@ .\" .Dd June 6, 1993 .Dt PRINTENV 1 -.Os BSD 3 +.Os .Sh NAME .Nm printenv , env .Nd print out the environment, set and print environment @@ -46,12 +46,13 @@ .Nm env .Op Fl .Op Fl i -.Op Ar name=value ...\& +.Op Ar name Ns = Ns Ar value ... .Op Ar command .Sh DESCRIPTION .Nm Printenv prints out the names and values of the variables in the environment, -with one name/value pair per line. If +with one name/value pair per line. +If .Ar name is specified, only its value is printed. @@ -73,8 +74,9 @@ manual page. executes .Ar command after modifying the environment as -specified on the command line. The option -.Ar name=value +specified on the command line. +The option +.Ar name Ns = Ns Ar value specifies an environment variable, .Ar name , @@ -104,13 +106,13 @@ of the variables in the environment, with one name/value pair per line. .Pp .Nm env is sometimes useful with the -.Qq #! +.Dq Li #! construct (see .Xr execve 2 ) . The only difference between -.Qq #!/usr/local/bin/foo +.Dq Li #!/usr/local/bin/foo and -.Qq #!/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. |