On Wed, 13 Dec 2023 21:17:05 -0500 Greg Wooledge <g...@wooledge.org> wrote:
> On Wed, Dec 13, 2023 at 08:50:48PM -0500, Zachary Santer wrote: > > Would there be a purpose in implementing ${< *file*; } to be the equivalent > > of $(< *file* )? Does $(< *file* ) itself actually fork a subshell? > > $(< file) does indeed fork. The only difference between $(< file) and > $(cat file) is the latter also does an exec (but it's portable). This stopped being the case with the release of 5.2 or thereabouts. -- Kerin Millar