[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash tab variable expansion question?
From: |
Michael Kalisz |
Subject: |
bash tab variable expansion question? |
Date: |
Thu, 24 Feb 2011 23:14:01 +0100 (CET) |
User-agent: |
SquirrelMail/1.4.8-5.el5.centos.10 |
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2
uname output: Linux penguin.localdomain 2.6.18-194.26.1.el5.028stab079.2
#1 SMP Fri Dec 17 19:25:14 MSK 2010 i686 i686 i386 GNU/Linux
Machine Type: i686-pc-linux-gnu
Bash Version: 4.2
Patch Level: 0
Release Status: release
Description:
Hi!
Example:
In bash, version 4.1.5(1)-release:
$ echo $PWD/<TAB>
will expand the $PWD variable to your current directory
while in bash, version 4.2.0(1)-release:
$ echo $PWD/<TAB>
will just escape the $ in front of the $ variable i.e:
$ echo \$PWD/
The shell-expand-line (Ctrl-Alt-e) works but before I could use just TAB
Any hints why? Any way to get the 4.1 behavior in 4.2?
Can someone confirm... Is this a bug or a feature?
Thanks in advance
Michael
- bash tab variable expansion question?,
Michael Kalisz <=
- Re: bash tab variable expansion question?, Eric Blake, 2011/02/25
- Re: bash tab variable expansion question?, Andreas Schwab, 2011/02/25
- Re: bash tab variable expansion question?, Davide Brini, 2011/02/25
- Re: bash tab variable expansion question?, Clark J. Wang, 2011/02/25
- Re: bash tab variable expansion question?, Greg Wooledge, 2011/02/25
- Re: bash tab variable expansion question?, Andreas Schwab, 2011/02/25
- Message not available
- Re: bash tab variable expansion question?, gnu.bash.bug, 2011/02/25
- Re: bash tab variable expansion question?, Bob Proulx, 2011/02/25
- Re: bash tab variable expansion question?, Andreas Schwab, 2011/02/26
- Message not available
- Re: bash tab variable expansion question?, gnu.bash.bug, 2011/02/26