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

Re: Positional Parameter "$@"



Yoshinari KANAYA <kanaya@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Dear ZSH maintainers,
> 
>     $ echo $ZSH_VERSION
>     2.6-beta8
>     $ uname -a
>     SunOS chacha 5.3 Generic_101318-70 sun4m sparc
> 
> (1) $ cat foo
>     #!/bin/zsh
>     echo ${1+"$@"}
> 
>     $ ./foo a b c
>     ./foo: ambiguous: a [2]

That's a bug. I've fixed it long a ago in my releases, which can be ftp'ed
from ftp://ktud.elte.hu/pub/zsh. I did too may changes in the substitution
code so I do not send a patch for that.

Zoltan



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