bug-bash
[Top][All Lists]
Advanced

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

Re: Errors in command substitution when typing: echo "$(echo "<TAB>


From: Chet Ramey
Subject: Re: Errors in command substitution when typing: echo "$(echo "<TAB>
Date: Thu, 05 Mar 2015 09:44:24 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

On 2/26/15 4:30 PM, Ingo Ruhnke wrote:

> Bash Version: 4.3
> Patch Level: 30
> Release Status: release
> 
> Description:
> 
> Trying to tab complete the following produces half a screen full of errors:
> 
> echo "$(echo "
> 
> bash: command substitution: line 3: unexpected EOF while looking for
> matching `"'

Thanks for the report.  The issue is that parsing the completion follows
the same code path as command execution, and that execution code path
expects the command substitution to already be complete.  I will have to
look and see what can be done here.

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/



reply via email to

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