From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2949 invoked from network); 6 Jan 2003 02:03:16 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 6 Jan 2003 02:03:16 -0000 Received: (qmail 23088 invoked by alias); 6 Jan 2003 02:03:09 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 18057 Received: (qmail 23076 invoked from network); 6 Jan 2003 02:03:08 -0000 From: "Bart Schaefer" Message-Id: <1030106020240.ZM4262@candle.brasslantern.com> Date: Mon, 6 Jan 2003 02:02:40 +0000 In-Reply-To: <20030106001942.GA8996@dman.com> Comments: In reply to Clint Adams "Re: zsh -n and modules" (Jan 5, 7:19pm) References: <20030105201312.GA2058@dman.com> <1030105223531.ZM4130@candle.brasslantern.com> <20030106001942.GA8996@dman.com> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: Re: zsh -n and modules Cc: 175467@bugs.debian.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jan 5, 7:19pm, Clint Adams wrote: } } minimum_age=$(( minimum_age * age_format )) } } Looks like there are some if/thens which are not being executed which } would change $minimum_age from "1h" to its equivalent in seconds. OK, so the problem is that `zsh -n' is executing math expressions. It should probably treat math expressions just like any other builtin or command when the -n option is present; that is, do not execute them. -- 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