[Top][All Lists]

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

Re: Command substitution (backtick) and tab completion

From: Sven Mascheck
Subject: Re: Command substitution (backtick) and tab completion
Date: Fri, 31 Dec 2010 18:20:34 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

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 also http://lists.gnu.org/archive/html/bug-bash/2008-01/msg00049.html)

If you miss the pwd command especially, $PWD might help you.

reply via email to

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