This question already has an answer here:
Bills Jets Dolphin Patriots
for team in `cat teams.txt` do if ["$team" == "Bills"] then echo "$team hired Rex Ryan as coach" fi echo "$team Nation" done
I keep getting the error:
teams.sh: line 5: [Bills: command not found
I'm not sure what I'm doing wrong with my code.