Re: Is there a way to force here-documents/strings to use temporary files?

2020-12-20 Thread Chet Ramey
On 12/20/20 2:25 AM, Oğuz wrote: So, is there any way to force here-documents to use temporary files no matter how long the expanded document is? If not, it would be nice if compat50 had this effect. There is not. I'm not sure that a compat setting would be appropriate for something that is pu

Manual still incorrectly mentions PROMPT_COMMANDS

2020-12-20 Thread Eli Schwartz
From CWRU/changelog: 3/23 eval.c - execute_prompt_command: if an array variable PROMPT_COMMANDS exists, prefer it to PROMPT_COMMAND and execute all of the commands contained as array elements in index order. doc/{bash.1,bashref.texi} - PROMPT_COMMANDS: new array variable 8/25 eval

Re: Is there a way to force here-documents/strings to use temporary files?

2020-12-20 Thread Oğuz
20 Aralık 2020 Pazar tarihinde Chet Ramey yazdı: > > I decided ultimately to make the change for the most common cases, where > the amount of data passed in a here string or here document is small. But > that is simply an implementation detail; the documented semantics of here- > documents and her