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. Regards