$inttest #for i in ['m', 'o', 'o']#$i#end for# #if int($inttest) == 3 ISTHREE #else# NOTTHREE #end if# echo "\$INTVAR" > $out_file1; echo "\$FORTEST" >> $out_file1; echo "\$IFTEST" >> $out_file1;