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

Re: _normal:26: bad math expression: operator expected at `0 '



> From: Sven Wischnowsky <wischnow@xxxxxxxxx>
> Date: Thu, 25 Apr 2002 16:29:11 +0200
> To: zsh-users@xxxxxxxxxx
> Subject: Re: _normal:26: bad math expression: operator expected at `0 '
>
> Roman Neuhauser wrote:
> 
> > roman@roman ~ > autoload -U compinit                               101:0
> > roman@roman ~ > compinit                                           102:0
> > roman@roman ~ > tar xzf sub^I                                      103:0
> > _normal:26: bad math expression: operator expected at `0 '
> > 
> > At this moment, I'm supposed to be impressed. :)
> 
> We had this in one of the CVS-versions, but it has long been fixed.
> Where did you get that version from? Anyway, try it with either one of
> the stable versions or with the latest CVS.

roman@roman ~ > echo $ZSH_VERSION                                      124:0
4.0.4
roman@roman ~ >                                                        125:0

Installed from the port (/usr/ports/shells/zsh/).

Snippet from the port Makefile:

MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE} \
        ftp://ftp.zsh.org/%SUBDIR%/ \
        ftp://ftp.sterling.com/%SUBDIR%/ \
        ftp://ftp.rge.com/pub/shells/%SUBDIR%/ \
        ftp://ftp.fu-berlin.de/pub/unix/shells/%SUBDIR%/ \
        ftp://ftp.ips.oz.au/pub/packages/%SUBDIR%/ \
        ftp://ftp.uit.no/pub/unix/shells/%SUBDIR%/

The port fetches zsh-4.0.4-doc.tar.gz zsh-4.0.4.tar.gz from the first
available site in the list above.

Pity the function definition files don't contain $Id$, it'd be clear
what version of the file that is.

Also of interest might be my `uname -a`, but I first tried compinit (and
found the bug) on a fresh 4.5-STABLE (zsh-4.0.4 as well).

FreeBSD roman.mobil.cz 4.4-STABLE FreeBSD 4.4-STABLE #0: Wed Dec 26
12:45:18 CET 2001
root@xxxxxxxxxxxxxx:/usr/obj/usr/src/sys/CRUDPUPPY_3  i386

So, is 4.0.4 not a stable version?

-- 
FreeBSD 4.4-STABLE
4:54PM up 10 days, 6:07, 14 users, load averages: 0.29, 0.22, 0.22



Messages sorted by: Reverse Date, Date, Thread, Author