13/01/09 23:30:08.16 .net
何度もすいません、配列絡みでもう1つ質問させてください。
zshの配列の要素数って上限ありますか?
$ test=({1..300000})
$ echo $test[270000]
zsh: subscript too big: 270000
bashだとちゃんと返してくれるのですが・・・。
$ for((i=1;i<300000;i++)) ; do test[$i]=$i ; done
$ echo ${test[270000]}
270000