Re: command substitution fails with PS1 and multiline in one case

2014-08-04 Thread Chet Ramey
On 8/2/14, 7:27 PM, EmanueL Czirai wrote: > Repeat-By: > 1. start a bash shell > 2. put this in .bashrc > > PS1='$(date)\ > ' > > put no spaces after \ > the entire thing is 2 lines - may add new line after ' though, and prior to > PS1 > > 3. start a new bash > the error is: > bash: command su

command substitution fails with PS1 and multiline in one case

2014-08-03 Thread EmanueL Czirai
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-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/share/locale'