* Pigeon ([EMAIL PROTECTED]) [021218 20:26]: > On Wed, Dec 18, 2002 at 04:45:19PM -0600, Dave Sherohman wrote: > > environment. I'm sure you can see that profiles would be much less > > useful if they were executed instead of sourced... > > And there was me thinking in my fuzzy way that that was why they > exported variables instead of just setting them.
Well, that's wrong too (not to steal all your fuzz =) exporting variables makes them available in child processes, not parent processes. So if your shell runs a subshell that exports variables and then exits, the net effect will be zero. Try it: $ ( export FOO=bar ; echo $FOO ) $ echo $FOO good times, Vineet -- http://www.doorstop.net/ -- http://www.eff.org/
msg20335/pgp00000.pgp
Description: PGP signature