On Dec 31, 12:20 pm, Sven Mascheck <masch...@in-ulm.de> wrote: > On Dec 30, 12:59 pm, chengiz <chen...@my-deja.com> 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.