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

Re: bash conversion trouble.



On Feb 25,  3:26pm, Peter Stephenson wrote:
}
} setopt ksharrays
} 
} simulates this, but obviously if you want consistency with other
} functions, don't even think sbout it.

Also typically do

    setopt localoptions ksharrays

so the zero-based-ness doesn't leak out to the rest of the shell.  If
you're in a standalone script you won't be sourcing, that's not needed.



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