From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2170 invoked by alias); 18 Nov 2015 14:23:21 -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: 37138 Received: (qmail 8122 invoked from network); 18 Nov 2015 14:23:18 -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 15:23:08 +0100 From: Klaus Ethgen To: zsh-workers@zsh.org Subject: Undocumented construct <<( Message-ID: <20151118142305.GB10880@ikki.ethgen.ch> Reply-To: Klaus+zsh@Ethgen.ch MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; x-action=pgp-signed 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 Guys, I searched now pretty long for a undocumented construct <<(list). It is nearly the same than "list | list" but not fully. If you need to process output of a command via while ... do ... done, it will be a subshell when using "|" but wont with <<(...). That allows to modify variables from within the construct. I think, that should get documented in the man page. Regards Klaus Ps. I am not subscribed to the list, so please add me in Cc. - -- 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 iQGcBAEBCgAGBQJWTInJAAoJEKZ8CrGAGfasfvUL/RUeOjTmCsBrHyr2Tb4WAvoH pxicJcUUr5tyC3199/AZ78QjxH3WmgpyEKkcFpQPY6ab2v11UfEp552LG29y+FEP +8y1+KF276Y8QOjaBA9F7yx9IURZnGJTyGiBlOpP5BFgUXbEtk7YEfgz/MVBTjbs agkLVKp6GjQ2Cdmyu7MkbF/Qo+MiL+U9WO08usv/jLyRZsBePEVAp27ZPNYMPIAy zq7VB8anrFND5+DH+uGk/y+IhBb5rsWj8wLkgoVt59XI84rFTfG05jRMZ36HGV3h EEbydBYwF2OGEgnomtp2EkUmfgNqQeYFe5teVTkgOsYxLWzdcrNV69fwEr5YE0a2 YMjeORbmeO8yeQLS6LXyBPEa70qqS6mfkZtbfuCa1qjav+hC51Nzb6/JhCbaZotp KBYNAQQjhAQ6H3ocTBVoyU6/bm4wtiGyCCtw1BrcLxXPMKfdebXygHUi9TCBKgAk p9QBd9UM1bYv1H/aSGTbn1QRnS/kVdxMl3BeakxunA== =Usky -----END PGP SIGNATURE-----