[Top][All Lists]

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

Re: [Help-bash] Why `$(<` is slow?

From: Greg Wooledge
Subject: Re: [Help-bash] Why `$(<` is slow?
Date: Fri, 30 Aug 2019 08:32:23 -0400
User-agent: Mutt/1.10.1 (2018-07-13)

On Fri, Aug 30, 2019 at 07:50:55AM +0100, Stephane Chazelas wrote:
> In bash, $(<qwe) still creates a pipe, forks a child process
> that reads from the file, writes to the pipes, while the parent
> read from the other end of the pipe. The only thing that is
> optimised away is the execution of "cat".

Oh.  That's interesting... good to know.

reply via email to

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