From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20579 invoked by alias); 20 Aug 2015 15:34:39 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20444 Received: (qmail 3232 invoked from network); 20 Aug 2015 15:34:38 -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 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=2MEbbVM7w9hK8IdNePKz5f5dLDNI5RB0wih3ODGdEM4=; b=b1XO9rOoCqsR7k+iAE2/3CwbUxOP8DRk7eCYTu26Pb9hTQ9kcsDNG3nP977BD5nPjH 2C147OPGJQgeIuKIkn6Hki3m97PVkwbijSw2JIUpQ2OuV+LXBqKzTXqcugsrFhC4yQ7H RG7kn4R5mryb2Qw+MKbBtmLX3/pmMrh45aNb9x9Bzp2F4dplwBViPLmmyS8tqUuUoDsf Skeok/BU36dVN1D+0nKRgLenqeg+V+bnQDOBIf6I26xwFGLAg+3CkPn5tuD5LPo94Qlw ia1i+NBOwZTypXi++E1q5Ltze1P/9PvHxS3pMkxYxUSm9pAy9yADx1kHiaaDT36UqVGv dLhA== X-Gm-Message-State: ALoCoQm0lmp36npULSk2Q9DZb3QrvarGmjXswFBoCx00U+x6o0qT4/VMgzHTVTeMy1DH5c8GNmmP X-Received: by 10.182.236.66 with SMTP id us2mr3164250obc.5.1440084875451; Thu, 20 Aug 2015 08:34:35 -0700 (PDT) From: Bart Schaefer Message-Id: <150820083431.ZM29050@torch.brasslantern.com> Date: Thu, 20 Aug 2015 08:34:31 -0700 In-Reply-To: <20150820142913.77fa5bca@pwslap01u.europe.root.pri> Comments: In reply to Peter Stephenson "Re: list last modified files" (Aug 20, 2:29pm) References: <6ac3d5e6.2de49d01.55d4fc3c.9415a@prokonto.pl> <150819213302.ZM28036@torch.brasslantern.com> <794c2899.3f499b8c.55d5d132.18267@prokonto.pl> <20150820142913.77fa5bca@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: list last modified files MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Aug 20, 2:29pm, Peter Stephenson wrote: } } On Thu, 20 Aug 2015 15:08:02 +0200 } rooom wrote: } > BTW, what is 'in'? } } It's simply a syntactic marker specific to "for" which looks for it in } the list of arguments. In the original shell syntax it's not } really doing much except make it a bit more readable since you're forced } to use "for var in ...", but zsh makes a virtue of it by allowing you } to do "for var1 var2... in ..." --- unless your variable is called "in", } obviously, in which case you can't. Well ... torch% for in in in; do print $in; done in torch% for in in in in in; do print $in; done in in in torch% unset in torch% for out in out in out; do print in:$in out:$out; done in: out:out in: out:in in: out:out torch% for in out in out in; do print $in $out; done out in torch%