uses Bash to check the correctness of a list in .csv