Fix index-typo.sh: i$ --> $i