bug-bash
[Top][All Lists]
Advanced

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

Re: closing '}' misplaced in here-document in function


From: Chet Ramey
Subject: Re: closing '}' misplaced in here-document in function
Date: Mon, 1 Jul 2019 14:27:23 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.2

On 6/29/19 1:44 PM, Denis McKeon wrote:

> Bash Version: 5.0
> Patch Level: 7
> Release Status: release
> 
> Description:
> 
>     Bash appears to move the closing '}'
>     from after a closing here-document delimiter
>     to the start of the here-doc body
>     (just after the opening here-document delimiter)
>     in a function definition contained within
>     another function definition.

Thanks for the report. It also takes a command following the nested
function definition to trigger. It's an easy fix, and will be in the next
devel branch push.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

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