Re: Incomplete cleanup in Bash with malformed heredoc in pipeline

2025-06-20 Thread Chet Ramey
On 6/18/25 5:37 PM, Alvaro Falagan wrote: Hi, I would like to report an issue I’ve found in Bash (5.0.17) regarding the use of pipelines involving built-in commands and here-documents. ### Summary When a built-in (e.g., `echo`, `export`, `cd`, etc.) is used in a pipeline, and the next command

Re: Incomplete cleanup in Bash with malformed heredoc in pipeline

2025-06-18 Thread Martin D Kealey
On Thu, 19 Jun 2025 at 07:37, Alvaro Falagan wrote: > Bash does not clean up all its internal memory and leaves at least one file > descriptor (`/dev/pts/0`, fd 255) open at exit. Why would it be a problem if memory is still allocated or filedescriptors are still open at exit? Memory pages and