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

Re: Undocumented construct <<(



On Wed, 18 Nov 2015 15:23:08 +0100
Klaus Ethgen <Klaus+zsh@xxxxxxxxx> wrote:
> I searched now pretty long for a undocumented construct <<(list).

It's written confusingly (not the first time for a zsh construct :-/).
It's particularly confusing given that "<<HERE" is indeed a special
construct.

What you're looking at is a normal < followed by a <(list),
i.e. redirect stdin from <(list).  So see PROCESS SUBSTITUTION in the
zshexpn manual page for details of <(list).  So yes, indeed, it does
work pretty much like an input pipe with slightly different implications
for job control.

pws



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