Is this a bug or a feature?
It seems to happen for unquoted alphanumerics.
Running GNU bash, version 4.1.5
for alpha01234; do echo $((++i)); done
1 2 3 4
That is a feature of the
So the code you quoted is probably executed in a script which was called with 4 parameters.