Subshell inheritance of -e

2008-12-20 Thread Freddy Vulto
I'm having a hard time understanding how bash propagates `-e' to a subshell. Considering the example script below: - shouldn't C, D and E give no output? I know `-e' isn't in effect if the test is part of a `&&', `||' or `!', but shouldn't `-e' be *in* effect because the `&&', `||' or `!' are de

Re: vi editing mode + color prompt = trouble?

2008-12-20 Thread Chet Ramey
Halim Issa wrote: > On a non-related note - there are still rumors around that bash 3.2 has some > problems with `running backtick commands` compared to the new $(way to do it) > - isn't this fixed in the first few patches of 3.2, or are there still > compatibility issues from 3.1 to 3.2, and w

Re: vi editing mode + color prompt = trouble?

2008-12-20 Thread Halim Issa
Thanks for replying! On Saturday 13 December 2008 04:38:43 Chet Ramey wrote: > Halim Issa wrote: > > Type "one two three four five six seven eight" press ESCape and 7 B to go > > seven words back. This takes me right in the middle of the prompt while > > displaying (args:7) on the prompt. Once it