From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18065 invoked from network); 8 May 2003 10:51:01 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 8 May 2003 10:51:01 -0000 Received: (qmail 10314 invoked by alias); 8 May 2003 10:50:49 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6090 Received: (qmail 10304 invoked from network); 8 May 2003 10:50:48 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 8 May 2003 10:50:48 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.189.183.235] by sunsite.dk (MessageWall 1.0.8) with SMTP; 8 May 2003 10:50:47 -0000 Received: from exchange01.csr.com (unverified) by (Content Technologies SMTPRS 4.2.1) with ESMTP id for ; Thu, 8 May 2003 12:00:25 +0100 Received: from csr.com (tinky-winky.csr.com [192.168.144.127]) by exchange01.csr.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id JWCPY4C5; Thu, 8 May 2003 11:48:48 +0100 To: zsh-users@sunsite.dk Subject: Re: array as loopvariable - howto In-reply-to: "Peter Stephenson"'s message of "Thu, 08 May 2003 11:33:27 BST." <18467.1052390007@csr.com> Date: Thu, 08 May 2003 11:50:45 +0100 Message-ID: <2040.1052391045@csr.com> From: Peter Stephenson Peter Stephenson wrote: > for User Uid in User1 100 User2 120; do > echo "$User has UID $User2" ^^^^^^ This should be $Uid, obviously, sorry. > done -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. **********************************************************************