bug-bash
[Top][All Lists]
Advanced

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

Re: premature execution of command substution during tab completion soli


From: Chet Ramey
Subject: Re: premature execution of command substution during tab completion solicitation
Date: Fri, 18 Jan 2008 11:04:56 -0500
User-agent: Thunderbird 2.0.0.9 (Macintosh/20071031)

jared r r spiegel wrote:
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: openbsd4.0
Compiler: cc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='openbsd4.0' -DCONF_MACHTYPE='i386-unknown-openbsd4.0' 
-DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' 
-DSHELL  -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib  -I/usr/local/include 
-O2 -pipe
uname output: OpenBSD iorek.ice-nine.org 4.0 IOREK.MP#1 i386
Machine Type: i386-unknown-openbsd4.0

Bash Version: 3.1
Patch Level: 17
Release Status: release

Description:
        unexpected execution of incomplete (and currently syntactically 
invalid?)
        commandline by tab-completion subsystem

The problem is the completion system's attempt to run the directory
portion of the filename to be completed through the set of shell word
expansions.  It's not appropriate to perform command substitution in
that case.  This will be fixed for the next bash version.

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/




reply via email to

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