On 2009-02-13, Antonio Macchi <antonio_mac...@alice.it> wrote:
> i think that
>
> $ ( echo $x )
>
> is like
>
> $ bash -c 'echo $x'

it is confusing I agree.  'man bash' and look for the
section 'COMMAND EXECUTION ENVIRONMENT', which essentially
says that a simple command gets a different environment
(namely only the exported variables) than 'commands grouped
with parantheses'.



Reply via email to