probably quite easy question for you but has been a while I'm stuck with this issue.
Basically i want to perform some operation in every csv file in a folder and i put together this simple script:

```
#!/bin/bash
for file in *.csv ;
    do

         echo $file #check
         OLDIFS=$IFS
         IFS=","

         while read  var1
         do
               echo $var1        
         done < $file
         IFS=$OLDIFS
done

```

The csv files follow all the same format, 1 line and 12 variables like: 

```
name,1,2,3,4,5,6,7,8,9,11

```

It seems to me that the while conditions is always false and never run.
Could you tell me where I'm wrong?