found 514862 bash/4.0-7
thanks

On 2009-10-12 12:33:03 +0000, Clint Adams wrote:
> Presumably this was fixed in or around 4.0-1

bash 4.0-7 still has the same behavior. It seems to be documented,
but the documentation is not clear:

  Subshells spawned to execute command substitutions inherit the value of
  the -e option from the parent shell.  When  not  in  posix  mode,  Bash
  clears the -e option in such subshells.

If bash clears the -e option, I wonder whether one can say that it
is inherited. Also I don't see why bash would clear the -e option in
such subshells, as this doesn't seem to be an improvement and AFAIK,
no other shells do this. Introducing such an incompatibility is a
bad idea IMHO.

-- 
Vincent Lefèvre <[email protected]> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to