Tell us what’s happening:
TLDR: IFS=“,” not working properly(?)
Hi, been working on the insert_data file but atm when the script has to insert the info into the teams table occurs an error bc of the characters extension (VARCHAR 20), thought my code was bad so tried to use the Student DB Pt1 insert script as reference, doing testing and as far as my understanding goes in the code:
cat games.csv | while IFS=“,” read YEAR
do
echo $YEAR
done
should display only the year of the games.csv but displays whole file
Your browser information:
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0
Challenge Information:
World Cup Database - Build a World Cup Database

