Re: History expansion in multiline string, within single quote

2018-08-09 Thread Chet Ramey
On 8/9/18 3:47 AM, schplu...@laposte.net wrote: > Bash Version: 4.4 > Patch Level: 12 > Release Status: release > > Description: > Bug happens in an interactive shell. > > this works as expected, no history expansion : > echo "foo"'!bar'"qux" > > but this fails, bash tries to hist-expand

Re: delcare -a on a nameref in a function modifies nameref instead of target

2018-08-09 Thread Chet Ramey
On 8/6/18 10:13 PM, Grisha Levit wrote: > A few more problematic test cases in this vein (tested against latest > devel snapshot 20180803). Thanks for the report. These are all the same issue, with the same fix. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer

History expansion in multiline string, within single quote

2018-08-09 Thread schplurtz
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' -D