Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Numeric version of ZSH_VERSION?
- X-seq: zsh-workers 25576
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: "Richard Hartmann" <richih.mailinglist@xxxxxxxxx>
- Subject: Re: Numeric version of ZSH_VERSION?
- Date: Mon, 1 Sep 2008 14:43:35 +0200
- Cc: "Dan Nelson" <dnelson@xxxxxxxxxxxxxxx>, "Rocky Bernstein" <rocky.bernstein@xxxxxxxxx>, "Zsh hackers list" <zsh-workers@xxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=WMmgOrSC0ZK5RVfFTIyyIaRjUnF+emQDfe8cNDMDx18=; b=wjlJW3swXO0sofi3pLnpbAapYjf60YNi7llX8A8R8JwmmlZpOr90a4tMRC15uoOhJJ YBxuj4zOdhGMAEPwbXpPVniK73gywYfDA4RTNz20OrxU21hV2ZhaOs/gMqCOJrmtaZYR Rm5NpCgLIpcEA3HTyFNoUm7umfzCyMNjuEBug=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=jNEtAUjSBg5subG+PwuMyvrDJIad6Cm3/QkvMMrC++MXcs+iJ33CdJ20SPD3lzyhhx PZxD/7n/XlGT7mCfOqohk1TEM6QhUNP9Oob57bgfNcfl4+klP1YLKsAz2WRghGgzwUQ9 rYZ76Y6fTMPcYg07kqbQgCsVs7uwCV6R8IBd4=
- In-reply-to: <2d460de70809010538xfac8eceqc37a177c0481869c@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <6cd6de210808301954x6fd72987i4bb0ea3665951de1@xxxxxxxxxxxxxx> <20080831031632.GI26653@xxxxxxxxxxxxxxxx> <2d460de70809010538xfac8eceqc37a177c0481869c@xxxxxxxxxxxxxx>
2008/9/1 Richard Hartmann <richih.mailinglist@xxxxxxxxx>:
> On Sun, Aug 31, 2008 at 05:16, Dan Nelson <dnelson@xxxxxxxxxxxxxxx> wrote:
>
>> The Misc/is-at-least function should do what you need:
>
> It lacks a is-at-max sibling _if_ you need to actually check on ranges.
> Why not just use revision numbers for this (unless ZSH falls into the
> git trap, at some point :p)?
function is-at-max() { return is-at-least $2 $1 } maybe? I am a bit too lazy
to think it through though.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author