Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh -n and modules
- X-seq: zsh-workers 18057
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: zsh -n and modules
- Date: Mon, 6 Jan 2003 02:02:40 +0000
- Cc: 175467@xxxxxxxxxxxxxxx
- In-reply-to: <20030106001942.GA8996@xxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20030105201312.GA2058@xxxxxxxx> <1030105223531.ZM4130@xxxxxxxxxxxxxxxxxxxxxxx> <20030106001942.GA8996@xxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author