bug-bash
[Top][All Lists]
Advanced

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

Re: funsub questions


From: Kerin Millar
Subject: Re: funsub questions
Date: Thu, 14 Dec 2023 02:39:04 +0000

On Wed, 13 Dec 2023 21:17:05 -0500
Greg Wooledge <greg@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



reply via email to

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