Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Evaluation of $# - bug?
- X-seq: zsh-workers 13221
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: Evaluation of $# - bug?
- Date: Mon, 4 Dec 2000 16:04:07 +0000
- In-reply-to: <0G51000DAL739B@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <0G51000DAL739B@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
} 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