zsh-workers
 help / color / mirror / code / Atom feed
* string range between 1 and 0.
@ 1999-07-18  4:14 Tanaka Akira
  1999-07-19  0:02 ` Bart Schaefer
  0 siblings, 1 reply; 6+ messages in thread
From: Tanaka Akira @ 1999-07-18  4:14 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-07-20  6:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-18  4:14 string range between 1 and 0 Tanaka Akira
1999-07-19  0:02 ` Bart Schaefer
1999-07-19  1:01   ` Tanaka Akira
1999-07-19  5:04     ` Bart Schaefer
1999-07-19 19:10       ` Wayne Davison
1999-07-20  5:59       ` Tanaka Akira

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).