I have to second nezabudka: Why not just run the command, mayhap after consulting
man bash:
Quote:
for name [ [ in [ word ... ] ] ; ] do list ; done
The list of words following in is expanded, generating a list of items. The variable name is set to each element of this list in turn, and list is executed each time.
On the other hand, I have to admit that it may not be the wisest thing to run code that you don't understand (way more complex than above, of course) on a production system. Not a bad idea to have some playground system up your sleeve to test / debug suspect software.
Or use a web test ground like
ideone.com.