[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash tab variable expansion question?
From: |
Greg Wooledge |
Subject: |
Re: bash tab variable expansion question? |
Date: |
Fri, 25 Feb 2011 09:40:21 -0500 |
User-agent: |
Mutt/1.4.2.3i |
On Fri, Feb 25, 2011 at 09:46:58AM +0000, Davide Brini wrote:
> Maybe, but then it shouldn't escape the $ either, as the OP is reporting for
> 4.2 (I don't have a 4.2 handy to test it).
I actually noticed this quite recently, but didn't think to bring it up.
I had just typed some "cd" command, and then realized I wanted to view
a file in the directory where I had just been. So instead of changing
directory again, I typed "cd $OLDPWD/foo<TAB>" -- and the $OLDPWD became
\$OLDPWD and did not do as I wished.
Fortunately the workaround was simple enough -- once the filename had
been completed I went back and x'ed out the \.
- bash tab variable expansion question?, Michael Kalisz, 2011/02/24
- 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 <=
- 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
- Re: bash tab variable expansion question?, Clark J. Wang, 2011/02/27
- Re: bash tab variable expansion question?, Michael Kalisz, 2011/02/27
- Re: bash tab variable expansion question?, Chet Ramey, 2011/02/27
Re: bash tab variable expansion question?, Clark J. Wang, 2011/02/25
Message not available