You would be better served to parse that, and then do the loop, rather than just evaling arbitrary strings that may include Bobby Tables, or rm -rf *
I suggest a series of simple regex:
In reply to Re: use string as a piece of code
by SuicideJunkie
in thread use string as a piece of code
by daverave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |