> I see no 'export' in your example. sh-4.4$ export foo=3 sh-4.4$ echo $foo 3 sh-4.4$ (foo=4; echo $foo) 4 sh-4.4$ echo $foo 3 sh-4.4$ -- These are my opinions. I hate spam.