FreeBSD Bugzilla – Attachment 14802 Details for
Bug 27690
[PATCH] env is cool, and should be better documented.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 659 bytes, created by
mwm
on 2001-05-27 18:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
mwm
Created:
2001-05-27 18:50:01 UTC
Size:
659 bytes
patch
obsolete
>--- usr.bin/printenv/printenv.1 Tue Dec 19 10:22:24 2000 >+++ /tmp/printenv.1 Sun May 27 10:22:49 2001 >@@ -101,6 +101,20 @@ > .Nm env > prints out the names and values > of the variables in the environment, with one name/value pair per line. >+.Pp >+.Nm env >+is most useful with the >+.Li #! >+construct. The only difference between >+.Li "#! /usr/local/bin/foo" >+and >+.Li "#! /usr/bin/env /usr/local/bin/foo" >+is that the latter works even if >+.Pa /usr/local/bin/foo >+is itself scripted. The facilities of env allow reference to >+.Ic foo >+without the path, >+and allow the script author to set up environment variables as needed. > .Sh SEE ALSO > .Xr csh 1 , > .Xr sh 1 ,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 27690
: 14802