[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: environment

From: Sitaram Chamarty
Subject: Re: environment
Date: Fri, 13 Feb 2009 14:23:36 +0000 (UTC)
User-agent: slrn/0.9.9 (Linux)

On 2009-02-13, Antonio Macchi <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]