From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20705 invoked by alias); 18 Nov 2015 14:47:26 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 37140 Received: (qmail 8498 invoked from network); 18 Nov 2015 14:47:25 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-AuditID: cbfec7f4-f79026d00000418a-8b-564c8f79e76a Date: Wed, 18 Nov 2015 14:47:17 +0000 From: Peter Stephenson To: Peter Stephenson Cc: Klaus+zsh@Ethgen.ch, zsh-workers@zsh.org Subject: Re: Undocumented construct <<( Message-id: <20151118144717.0b129f59@pwslap01u.europe.root.pri> In-reply-to: <20151118144147.116022ee@pwslap01u.europe.root.pri> References: <20151118142305.GB10880@ikki.ethgen.ch> <20151118144147.116022ee@pwslap01u.europe.root.pri> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrBLMWRmVeSWpSXmKPExsVy+t/xa7qV/T5hBt9vGlg8O/WA1eJg80Mm ByaPL03fmTxWHfzAFMAUxWWTkpqTWZZapG+XwJVxsPMOe8FmroopB+cwNTAe5+hi5OSQEDCR mL7wJyOELSZx4d56ti5GLg4hgaWMEstm72CEcBqYJF6t7mIGqRIS2MYocet/FYjNIqAqsX35 IbBuNgFDiambZoPZIgL6EmtX9oDVMwvoSPxd8JAJxBYWUJc4OOcHWJxXwF5ixfO/7CA2p4CD RMezf0A1HEDzMyUObZQACfMDjbn69xMTxHH2EjOvnGGEaBWU+DH5HgvEeC2JzduaWCFseYnN a95CnakucePubvYJjMKzkLTMQtIyC0nLAkbmVYyiqaXJBcVJ6bmGesWJucWleel6yfm5mxgh 4f1lB+PiY1aHGAU4GJV4eBMWe4cJsSaWFVfmHmKU4GBWEuHVrvYJE+JNSaysSi3Kjy8qzUkt PsQozcGiJM47d9f7ECGB9MSS1OzU1ILUIpgsEwenVANjcZhjj63HLKcvDSc9v2zJ0F+lw5A8 aZdeXhGj/+LzJYIy8lUpC5iKJonpxHS/Wa/s3HUzaM6pyVO/6ggmMQQtOBeyqHLyks03AwRD ptjbC32NfM+8hWXlxmlT7V50MJQw3/hcFvyCK+fLzH0TDoZuVkyZfu3a3c3vQ3n2v169L+GV 0HWV+gW3lFiKMxINtZiLihMBzy81g2sCAAA= On Wed, 18 Nov 2015 14:41:47 +0000 Peter Stephenson wrote: > On Wed, 18 Nov 2015 15:23:08 +0100 > Klaus Ethgen wrote: > > I searched now pretty long for a undocumented construct <<(list). > > What you're looking at is a normal < followed by a <(list), > i.e. redirect stdin from <(list). and while I'm sending more emails than necessary, here's a note in the process substitution documentation. pws diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 123722e..564c70d 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -410,6 +410,12 @@ are only expanded when first parsing command or assignment arguments. Process substitutions may be used following redirection operators; in this case, the substitution must appear with no trailing string. +Note that `tt(<) forms, the shell runs the commands in var(list) as a subprocess of the job executing the shell command line. If the system supports the tt(/dev/fd)