From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18714 invoked from network); 15 Jun 2000 09:14:04 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 Jun 2000 09:14:04 -0000 Received: (qmail 21133 invoked by alias); 15 Jun 2000 09:13:45 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11919 Received: (qmail 21126 invoked from network); 15 Jun 2000 09:13:43 -0000 From: "Bart Schaefer" Message-Id: <1000615091332.ZM4783@candle.brasslantern.com> Date: Thu, 15 Jun 2000 09:13:32 +0000 In-Reply-To: <200006150826.KAA05864@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: PATCH: Re: expansion" (Jun 15, 10:26am) References: <200006150826.KAA05864@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: Sven Wischnowsky , zsh-workers@sunsite.auc.dk Subject: Re: PATCH: Re: expansion MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 15, 10:26am, Sven Wischnowsky wrote: } Subject: Re: PATCH: Re: expansion } } I didn't change that even now because I've regretted these } `mathematically conditional' styles for quite some time now. Yes, I find it extremely difficult to express any useful conditions that way. I usually want some prefix of the line to match, or some such, and end up using ${#${some_complicated_parameter_substitution}} to get a numeric result. } They should be turned into boolean styles and the condition should come } from somewhere else, e.g. the -e option to zstyle I suggested (see } 11691). I agree. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net