On 4/24/22 1:53 PM, Ángel wrote:
On 2022-04-23 at 14:46 -0400, Lawrence Velázquez wrote:
On Fri, Apr 22, 2022, at 9:51 AM, Sam Liddicott wrote:
Fix:
         Please could we at least have a shopt to maintain the old
behaviour?

Perhaps BASH_COMPAT=5.0 could be extended to handle this.

I think a shopt makes more sense. Forcing heredocs to be files although
something legit to request, is more a caller workaround to bugs in
called programs.

Shell options aren't intended to cater to broken programs; that's what the
compatibility mode is for.

It's not `legit to request'; the only thing guaranteed is that the user
will get a file descriptor they can read from.

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

Reply via email to