bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash 5.1 heredoc pipes problematic, shopt needed


From: Chet Ramey
Subject: Re: bash 5.1 heredoc pipes problematic, shopt needed
Date: Mon, 25 Apr 2022 16:54:15 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.8.1

On 4/25/22 4:33 PM, Alexey wrote:

My key point that we have two choices for future:
  - make read from pipe faster, or

You mean the read builtin, right? I already explained those semantics.

  - provide options for force here-string to use temp files.

Yes, the absolute worst case scenario has a performance penalty. The
question is how that affects things that run in real life scenarios. I
think making this a shell compatiblity mode option is the best place
to start.

I don't see any other options for fast-enough performance.

Since you don't define `fast-enough', it's not really a question that
can be answered.

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]