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