Re: more splitting

Bart Schaefer <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.