X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E61D4386186E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1594230159; bh=gLTPMUI8ltJMEHR8hdTSZBbqkFhVAwToHBUI2TNXF0g=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=P7VLikGEs01y3/p4JJFVgNqKX/4tMppsiDKqA1e6ZKx4JR5daA7ksamBRxOMFcrkj UnxWAWo5RCQ2MOdTQX9oSg6hqzX+VBMu649QJ502hstPkFvnyvsPDOTWlcjb2nhWhL mHWEEXFQEwnMcZuK5ptlRNTuwX1es49SoCOUIsLU= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6C9843858D34 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 To: Mark Hansen Subject: Re: Command expansion inside for loop X-PHP-Originating-Script: 501:rcmail.php MIME-Version: 1.0 Date: Wed, 08 Jul 2020 10:42:31 -0700 In-Reply-To: References: <20200707211743 DOT GT17929 AT mrvideo DOT vidiot DOT com> <20200707214528 DOT GU17929 AT mrvideo DOT vidiot DOT com> <20200707220657 DOT GV17929 AT mrvideo DOT vidiot DOT com> Message-ID: <67cb2da8c84d99bbb0b7dcae43ec26e8@mail.kylheku.com> X-Sender: kaz AT kylheku DOT 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 AT cygwin DOT 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: , From: Kaz Kylheku via Cygwin Reply-To: Kaz Kylheku Cc: cygwin AT cygwin DOT com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On 2020-07-08 04:47, Mark Hansen wrote: > You got us reading three posts, so we're fully invested in your issue, > 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 nobody cares about any more. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple