bug-bash
[Top][All Lists]
Advanced

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

Re: Command substitution (backtick) and tab completion


From: chengiz
Subject: Re: Command substitution (backtick) and tab completion
Date: Fri, 31 Dec 2010 12:20:38 -0800 (PST)
User-agent: G2/1.0

On Dec 31, 12:20 pm, Sven Mascheck <address@hidden> wrote:
> On Dec 30, 12:59 pm, chengiz <address@hidden> wrote:
>
> > > In an earlier version of bash (3.2), the following works
> > > ls `pwd`/<tab> (expands pwd).
>
> > > In bash 4.1 it does not. Am I missing a setting or something?
> > > Thank you.
>
> This changed with bash-3.2.37
>
> "Bash inappropriately evaluates command substitutions while expanding
>  directory names as part of command substitution."
> (see alsohttp://lists.gnu.org/archive/html/bug-bash/2008-01/msg00049.html)
>
> If you miss the pwd command especially, $PWD might help you.

I dont see how that's related - I dont doubt you that the fix to this
issue "broke" my example, but in that case there's premature
execution, in my case the ticks are closed. And no, the `pwd` was just
an example, I use backticks often like this, gotta retrain the muscles.


reply via email to

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