[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?
From: |
Eric Blake |
Subject: |
Re: readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why? |
Date: |
Thu, 05 Jul 2012 05:24:07 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
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 address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?, Jason Vas Dias, 2012/07/05
- Re: readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?,
Eric Blake <=
- Re: readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?, Jason Vas Dias, 2012/07/05
- Re: readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?, Chet Ramey, 2012/07/05
- Re: readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?, Jason Vas Dias, 2012/07/07
- Re: readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?, Chet Ramey, 2012/07/08
- Re: readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?, Jason Vas Dias, 2012/07/08
- Re: readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?, Chet Ramey, 2012/07/08