Correct bash for...in loop example

Removed the $ in the variable declaration of the for...in bash loop to correct the code.