From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22321 invoked from network); 15 Jan 1998 15:11:20 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 15 Jan 1998 15:11:20 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id KAA22468; Thu, 15 Jan 1998 10:00:48 -0500 (EST) Resent-Date: Thu, 15 Jan 1998 10:00:12 -0500 (EST) To: zsh-users@math.gatech.edu Path: mason From: mason@primenet.com.au (Geoff Wing) Newsgroups: lists.zsh.users Subject: Re: I've forgotten again how to do this --> 0-100 Date: 15 Jan 1998 15:01:38 GMT Organization: A poorly-installed InterNetNews site Message-ID: References: <199801150012.TAA07173@luomat.peak.org> from "Timothy J Luoma" at Jan 14, 98 07:12:21 pm <199801151028.KAA21473@taos.demon.co.uk> Reply-To: mason@primenet.com.au NNTP-Posting-Host: coral.primenet.com.au X-Trace: coral.primenet.com.au 884876498 22112 (None) 203.24.36.33 X-Complaints-To: usenet@coral.primenet.com.au X-Newsreader: slrn (0.9.4.3 UNIX) Resent-Message-ID: <"dy9pH.0.XU5.yHYlq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1231 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Andrew Main typed: :Timothy J Luoma wrote: :>for i in 0-100; do :> echo $i :>done :for ((i=0;i<=100;i++)); do : echo $i :done :takes less memory than the brace expansion method. And is only available in zsh-3.1.2 up. Or maybe 3.1.1 up (but it's not one of the 30 odd zsh versions I've got in my bin dir). -- Geoff Wing [gcw@pobox.com] Phone : +61-3-9818 2977 Technical Manager: PrimeNet Computer Consultants Facsimile: +61-3-9818 5155 Work URL: http://www.primenet.com.au/ Mobile : 0412 162 441 Ego URL: http://pobox.com/~gcw/