There are probably no good reasons why you will need to use envthe interactive team.
In the Bourne-derived shell (sh, ksh, bash, zsh), these two commands:
key=VALUE my_script
env key=VALUE my_script
essentially identical.
, key=Value , . env - ( ). - , env, , , . , find -exec:
find . -type f -exec some_command \;
some_command find, , key=Value . env, .
, .
, csh tcsh ( Bourne) . -, csh tcsh , env key=Value my_script .
- , env , , .
. , , , , .
chepner, env , ( ), -i .
( #!/usr/bin/env hack, . . )