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

Re: pop - is there a more elegant solution



[ -workers... ]

Bart Schaefer wrote:

> ...
> 
> Aside to zsh-workers:  A weird thing about `setopt ksharrays' is that
> ${@[0]} is $1.  Does ksh really work that way?

Well, my ksh here does:

  $ set a b c
  $ echo ${*[0]}
  ksh: ${*[0]}: bad substitution
  $ echo ${@[0]}
  ksh: ${@[0]}: bad substitution

;-)

Bye
  Sven


-- 
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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