Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: more splitting



On Tue, Apr 14, 2026 at 11:38 PM Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Tue, Apr 14, 2026 at 7:02 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> 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.




Messages sorted by: Reverse Date, Date, Thread, Author