Upon further testing, my assumption was correct.
Khaled failed to reset his iteration variable (%i) to 0 after processing $*
//tokenize 32 1 2 3 | echo -a 1st Set: $* | tokenize 32 4 5 6 7 8 9 0 | echo -a 2nd Set: $*1st Set: 1
1st Set: 2
1st Set: 3
2nd Set: 7
2nd Set: 8
2nd Set: 9
2nd Set: 0As you can see, on the second $* loop it starts off at
i = 4, skipping the first 3 tokens of the second set. Perhaps this should be reposted in the Bug Reports forum.
- Raccoon