Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Numeric version of ZSH_VERSION?



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