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

Re: Evaluation of $# - bug?



} Sven wrote:
} > Use `${#}-1'.

Or even `$# -1', if you're performing arithmetic rather than concatenation.

On Dec 4, 11:57am, Peter Stephenson wrote:
} 
} +sequence `tt($#-)var(...)' in an arithmetic expression is interpreted as

Whether it's in an arithmetic expression is immaterial, isn't it?

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



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