Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15075

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

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: closing '}' misplaced in here-document in function
Date 2019-07-01 14:27 -0400
Message-ID <mailman.5.1562017186.1967.bug-bash@gnu.org> (permalink)
References <974cfa51-f126-b373-f471-374a4b695e4a@swcp.com> <b8f804aa-7e9f-b6be-f4b0-17e4c10f2e14@case.edu>

Show all headers | View raw


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    chet@case.edu    http://tiswww.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: closing '}' misplaced in here-document in function Chet Ramey <chet.ramey@case.edu> - 2019-07-01 14:27 -0400

csiph-web