Re: History event execution in command substition

2015-01-10 Thread Chet Ramey
On 1/9/15 5:58 PM, Zigmund.Ozean@zig-home.localdomain wrote: > Bash Version: 4.3 > Patch Level: 30 > Release Status: release > > Description: > Inside command substition, an exclamation character will always try > execute a command from history. Quoting has an unexpected result. History

History event execution in command substition

2015-01-09 Thread Zigmund . Ozean
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

History event execution in command substition

2015-01-09 Thread Zigmund . Ozean
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