fix for BSD's expr - $i needs to be initialized
Merge pull request #34 from forkbomber/master

fix for BSD's expr - $i needs to be initialized