Correct bash for...in loop example

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