When bash is built on a macOS system where the high-water
mark hasn't been reached, the max pipe size will be detected
as 64 KiB. If the high-water mark is later reached and bash
tries to write a medium-sized heredoc into a pipe, it will
block due to the pipe only having a 512-byte capacity.
Thanks for the report. I honestly haven't run into this myself, and yours
is the first report I've seen about it. I will have a fix in the next
devel branch push.
--
``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/