Re: more splitting

Bart Schaefer <[email protected]> Wed, 15 Apr 2026 08:51:59 -0700
Newsgroups gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user
Message-ID <CAH+w=7YocNMEdA+=FRspKUsgHFEv9s8gciK6fiOJ2xa20izu=A@mail.gmail.com>
On Tue, Apr 14, 2026 at 11:38 PM Bart Schaefer
<[email protected]> wrote:
>
> On Tue, Apr 14, 2026 at 7:02 PM Bart Schaefer <[email protected]> wrote:
> >
> > More later about $(<&0) ...
>
> standard input:  <&0 is normally a no-op.  Here, though, it turns
> standard input into a substitution.

One further thought: This is going to block forever until the end of
the stdin stream is reached, and ultimately use approximately twice as
much memory as the size of that stream.  So you don't want to use this
in a place where you don't completely control what's being fed to it.