bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?


From: Jason Vas Dias
Subject: Re: readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?
Date: Thu, 5 Jul 2012 12:59:54 +0100

hi Eric - thanks for your response, but bash-4.2.29(2), just built from
latest patches from gnu on x86_64 ubuntu,  does NOT
"restore the old behavior" , but now refuses to tab-expand at
all - 'cat $SRC/<TAB>' on the command line still produces no
output.  Is there some option I need to give to enable it? Thanks!
On 5 Jul 2012 13:24, "Eric Blake" <eblake@redhat.com> wrote:

> On 07/05/2012 04:58 AM, Jason Vas Dias wrote:
>
> > Now it changes the input string into
> > 'less \$SRC/' and prevents tab expansion
> > as would be done without use of any variables.
> > Would anyone know how to restore the old behavior
> > with bash 4.2.2 + readline 6.2 (linux ubuntu 12.04) ?
>
> Yep - upgrade to bash 4.2.29 (that is, patchlevel 2 is missing the fix
> in patchlevel 29 that restores the behavior you want).
> ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-029
>
> This topic comes up frequently on this list.
>
> --
> Eric Blake   eblake@redhat.com    +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>
>
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]