delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/07/07/17:18:35

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 143403857C53
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=mrvideo.vidiot.com
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=brown AT vidiot DOT com
Date: Tue, 7 Jul 2020 16:17:43 -0500
From: Mike Brown <brown AT mrvideo DOT vidiot DOT com>
To: cygwin mail list <cygwin AT cygwin DOT com>
Subject: Command expansion inside for loop
Message-ID: <20200707211743.GT17929@mrvideo.vidiot.com>
MIME-Version: 1.0
User-Agent: Mutt/1.9.2 (2017-12-15)
X-Spam-Status: No, score=4.2 required=5.0 tests=BAYES_50, FORGED_SPF_HELO,
KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KHOP_HELO_FCRDNS, RDNS_DYNAMIC,
SPF_HELO_PASS, SPF_NONE autolearn=no autolearn_force=no version=3.4.2
X-Spam-Level: ****
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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Several years ago I was provided with info on how to get command expansion
to work inside for loops.  I run under Zsh.  It was done for the install that
I have under XP.  I've since installed cygwin under Win7-64 and want to get
the expansion working again, but do not remember what was done to get it
to work.

And yes, expansion works outside of the for loop on the command line.

Thanks for pointers.

MB
-- 
e-mail: vidiot AT vidiot DOT com | vidiot AT vidiot DOT net            /~\ The ASCII
        6082066843 AT email DOT uscc DOT net (140 char limit)       \ / Ribbon Campaign
Visit - URL: http://vidiot.com/                           X  Against
             http://vidiot.net/                          / \ HTML Email
"VCR was in the closet.  Still works.  Can't get the clock to stop
blinking, though."  Angela - Animal Kingdom - 7/16/19
--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019