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

Re: Number of psvar entries



On Mar 13,  9:38am, Peter Stephenson wrote:
}
} > % psvar[25]=hello; print -P %25v
} > hello
} > 
} > Am I missing something?
} 
} Evidently the manual page is...  That restriction certainly goes way
} back to very early versions of zsh.

I happen to have sitting around a binary of zsh 2.4.306 beta, and at
that version the documentation is correct (and really strange stuff
can happen if psvar[1,9] are all empty).  By 3.0.5 indices above 9
are usable.  So there's a chance the change is in CVS somewhere if
that's interesting for some reason.

} In which case the manual page simply needs updating.

I'd say so.



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