Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
string range between 1 and 0.
- X-seq: zsh-workers 7183
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: string range between 1 and 0.
- Date: 18 Jul 1999 13:14:39 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Hi. I wondered that $var[1,0] is expanded to first character of v.
Z(2):akr@localhost% zsh -f
localhost% v=abcd
localhost% echo $v[1,0]
a
localhost% echo $v[2,1]
localhost% echo $v[2,0]
localhost%
I think that $v[1,0] should be null string as $v[2,0].
Is this intentional behaviour?
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author