Operator || disables set -e in subshells: Bug or feature?

2008-05-19 Thread bug-bash-reply
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKA

Bash enhancement request

2008-05-19 Thread Paul Foerster
Hi, ... I found this email address in the bash man-page, so I hope this is the right address. I have a small feature request: Can you make it possible that the EOF marker for here-documents be nested too, i.e. preceeded with an arbitrary number of white spaces? I often have this situation: if [

Re: Bash enhancement request

2008-05-19 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Paul Foerster on 5/18/2008 11:03 PM: | | Can you make it possible that the EOF marker for here-documents be | nested too, i.e. preceeded with an arbitrary number of white spaces? Sorry, but this would violate the POSIX requirements on he

Re: Operator || disables set -e in subshells: Bug or feature?

2008-05-19 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to [EMAIL PROTECTED] on 5/19/2008 7:16 AM: | | Bash Version: 3.1 | Patch Level: 17 Consider upgrading. Bash is at 3.2, patch level 39. However, it also exhibits the same behavior. | | Today I recognized a strange behavior of Bash w

Bug with long color prompt + long command line?

2008-05-19 Thread slinkp
I know the presence of "color" in my subject will cause people to tell me to read the FAQ section E3; so I already have ;-) Here's how I can reproduce: 1) set PS1 to use colors and reset the color at the end, as per the bash prompt HOWTO; eg. the "lightweight" prompt described here, http://