From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14247 invoked by alias); 18 Nov 2015 15:00:08 -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: 37141 Received: (qmail 20528 invoked from network); 18 Nov 2015 15:00:06 -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 Date: Wed, 18 Nov 2015 16:00:03 +0100 From: Klaus Ethgen To: zsh-workers@zsh.org Subject: Re: Undocumented construct <<( Message-ID: <20151118150003.GC10880@ikki.ethgen.ch> Reply-To: Klaus+zsh@Ethgen.ch References: <20151118142305.GB10880@ikki.ethgen.ch> <20151118144147.116022ee@pwslap01u.europe.root.pri> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; x-action=pgp-signed In-Reply-To: <20151118144147.116022ee@pwslap01u.europe.root.pri> OpenPGP: id=79D0B06F4E20AF1C; url=http://www.ethgen.ch/~klaus/79D0B06F4E20AF1C.txt; preference=signencrypt User-Agent: Mutt/1.5.24 (2015-08-30) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi, Am Mi den 18. Nov 2015 um 15:41 schrieb Peter Stephenson: > On Wed, 18 Nov 2015 15:23:08 +0100 > Klaus Ethgen 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 "< construct. > > What you're looking at is a normal < followed by a <(list), Yes, that is the same. I just wasn't aware that it also work for the special <(...) construct. Nevertheless, thanks for the fast response and for documenting it. For the records, I fixed zsh.vim to allow that syntactical sugar: - --- /usr/share/vim/vim74/syntax/zsh.vim 2015-08-17 03:23:35.000000000 +0100 +++ zsh.vim 2015-11-18 15:44:37.885885225 +0100 @@ -55,7 +55,7 @@ syn match zshRedir '|&\=' syn region zshHereDoc matchgroup=zshRedir - - \ start='<\@' \ contains=@zshSubst syn region zshHereDoc matchgroup=zshRedir Maybe that can find a way into vim in some future time too. :-) Regards Klaus - -- Klaus Ethgen http://www.ethgen.ch/ pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQGcBAEBCgAGBQJWTJJtAAoJEKZ8CrGAGfasfvMMAKj1wrkbhqTgadiCrkoSmJdP lI+oG48ccq5gmF7vNrOzWBJvBE4R1tFv/BqLyfjZXaRZzf9Yz3MDcLAdZgOzR3+K wnN8RdO0WIt2iFClJME+XRhsgIlQ3UIn27WbWq0YgpGU7NHTOtJ0aDJBLTwSRgtN N5bAVylQrX9BGjnVsgj+vJ2NbI1FiAFkLT38pk+vZA2JWKmqJb+YhdmfthOE/fxw 9tg+QF6YOKIYkKLMLjjRjSkA6s6iePiMr6dLMUMn04YjDKS88Aw7qKS3dJ020M1R sqAg3tYUDWGU/peMCDUfVPo3mavn9TO640m7Q8A41XHskHW6tiZbl/jhorCF/idS 1W3YrBgY5RSPDF4cnslut+OCNrPBqckBhg80lMTrA+pGfAkgIWpxqSau7lWZ6gLj hFl/BEgHIn1LoLW1ItfpMY0Jy9+sV/w73q1xyfcz8z0fIfZth9w42Ja7lx8IjQ9g d9kXNUTkAw6/6ILHeAa7RKh2sEqgcqlbuooiHHEtRw== =E+Mu -----END PGP SIGNATURE-----