Bash wrongly attaches subcommand stdin on syntax error

2015-04-07 Thread Sam Liddicott
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' -DPACKAGE

Re: Sourcing a file ending in \ disables aliases for 1 command

2015-04-07 Thread Chet Ramey
On 4/3/15 3:55 PM, Eduardo A. Bustamante López wrote: > Also, while looking at this, I found this: > > dualbus@yaqui ~ % bash -c 'eval \\; echo y' > y > dualbus@yaqui ~ % bash -ic 'eval \\; echo y' > exit > > So, that eval is triggering a yacc_EOF, so that triggers the `exit' in the > interactiv

conflict between gcc and bash malloc lib with static link

2015-04-07 Thread thibaut . charpentier
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='b