From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.9]) by sourceware.org (Postfix) with ESMTPS id 6C9843858D34 for ; Wed, 8 Jul 2020 17:42:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6C9843858D34 Received: from kylheku.com ([70.79.163.252]) by shaw.ca with ESMTPA id tE5XjWmvA62brtE5YjpJct; Wed, 08 Jul 2020 11:42:33 -0600 X-Authority-Analysis: v=2.3 cv=LKf9vKe9 c=1 sm=1 tr=0 a=95A0EdhkF1LMGt25d7h1IQ==:117 a=95A0EdhkF1LMGt25d7h1IQ==:17 a=IkcTkHD0fZMA:10 a=SMorJkV_YP8A:10 a=_RQrkK6FrEwA:10 a=ok8RmwgyewDiLgs56akA:9 a=QEXdDO2ut3YA:10 Received: from www-data by kylheku.com with local (Exim 4.72) (envelope-from ) id 1jtE5X-0007Fv-G0; Wed, 08 Jul 2020 10:42:31 -0700 To: Mark Hansen Subject: Re: Command expansion inside for loop X-PHP-Originating-Script: 501:rcmail.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Wed, 08 Jul 2020 10:42:31 -0700 From: Kaz Kylheku Cc: cygwin@cygwin.com In-Reply-To: References: <20200707211743.GT17929@mrvideo.vidiot.com> <20200707214528.GU17929@mrvideo.vidiot.com> <20200707220657.GV17929@mrvideo.vidiot.com> Message-ID: <67cb2da8c84d99bbb0b7dcae43ec26e8@mail.kylheku.com> X-Sender: kaz@kylheku.com User-Agent: Roundcube Webmail/0.9.2 X-CMAE-Envelope: MS4wfKKeBiYH1Q+FrvqrqsyoOB8dYHljg5+3a2Rj0Fy6Pvs1BKjM57Wq9Q4pZlz+7HoG1TzgAw8cpTYenK20woKwmJAtGtZR5CATFmI0aPDPW4Ln8GMN5Foj vbweYmmTAyZh3jM8yE+HSqioPWQM/F954jR4fnve+pqFeWqJc4Ce8rmtgql3ah6ld+Gw1GlU4L7lhIlw2BvklPGBGCaQaf2qjME= X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_50, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jul 2020 17:42:37 -0000 On 2020-07-08 04:47, Mark Hansen wrote: > You got us reading three posts, so we're fully invested in your issue,=20 > and then > you don't share the answer? That's just cruel :) I'm invested in the amusement of the whole procession, but all the while I'm thinking that command substitution inside a for loop is basic shell syntax from POSIX: $ for x in $(echo a b c) ; do echo $x ; done a b c so it's either a PEBKAC or some obscure version-specific Zsh problem=20 nobody cares about any more.