bug-bash
[Top][All Lists]
Advanced

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

Re: tab expansion of $HOME/ to \$HOME/


From: Diggory Hardy
Subject: Re: tab expansion of $HOME/ to \$HOME/
Date: Wed, 15 Jan 2014 13:58:57 +0100
User-agent: KMail/4.11.5 (Linux/3.12.3-1.fc21.x86_64; KDE/4.11.5; x86_64; ; )

Sorry Chet, for some reason I didn't see your reply until after I'd replied to 
Chris.

On Wednesday 15 January 2014 07:50:09 Chet Ramey wrote:
> On 1/15/14 5:07 AM, Diggory Hardy wrote:
> > Thanks Chris.
> > 
> > So the way I read it is that many people didn't like bash 4.1 behaviour
> > (expansion), but the fact that a $ is replaced with \$ in 4.2 is a bug no
> > one knows how to fix.
> > 
> > Is this correct?
> 
> No.  There was a bug with the default (no programmable completion) bash
> completion that resulted in \$. This was fixed in bash-4.2 patch 29, and
> you're running bash-4.2.45, so this is not the problem.  You can verify
> that it's not the problem by running `complete -r' and removing all of
> the programmable completions.
> 
> The problem you're having is caused by Fedora's bash-completion package,
> which uses some variant of `printf %q' to quote completions.  This is why
> I recommended that you open a Fedora bug report against bash-completion.
> 
> > (I don't want expansion either.)
> 
> You probably won't like the direxpand option, then, but at least you won't
> have to go back and remove the quotes.
> 
> Chet
> 
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>                ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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