Re: readline and bash disagree on $'' quoting

2015-10-06 Thread Chet Ramey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/5/15 3:52 PM, Daniel Colascione wrote: > Consider this command: > > foo $'foo \' bar' > > As far as the bash core is concerned, this command has one argument > word. But readline, for completion, splits it up into three words: > > 0: foo >

extglob syntax error in function definition

2015-10-06 Thread bashbug
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

Re: readline and bash disagree on $'' quoting

2015-10-06 Thread Chet Ramey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/5/15 3:52 PM, Daniel Colascione wrote: > Consider this command: > > foo $'foo \' bar' > > As far as the bash core is concerned, this command has one argument > word. But readline, for completion, splits it up into three words: > > 0: foo >