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


Groups > gnu.bash.bug > #15996

Re: An exported function is malformed if it contains a nested function definition with heredoc

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: An exported function is malformed if it contains a nested function definition with heredoc
Date 2020-03-06 11:33 -0500
Message-ID <mailman.2184.1583512441.2412.bug-bash@gnu.org> (permalink)
References <3ec210c3a23f1ad8ad73a3093766c934d50fa3f6.camel@wang.onl> <0f1c0878-567b-b84b-57fc-3571c6e0f48c@case.edu>

Show all headers | View raw


On 3/6/20 9:48 AM, Sherwood Wang wrote:

> Bash Version: 5.0
> Patch Level: 3
> Release Status: release
> 
> Description:
> 
> 	A function containing a nested function definition with heredoc
> 	cannot be serialized into the environment variable correctly,
> 	and leads to failures in a subshell.

This was fixed back in July, the result of

https://lists.gnu.org/archive/html/bug-bash/2019-06/msg00063.html

and the fix is in the devel branch.

-- 
``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


Thread

Re: An exported function is malformed if it contains a nested function definition with heredoc Chet Ramey <chet.ramey@case.edu> - 2020-03-06 11:33 -0500

csiph-web