#!/bin/bash while read line; do echo "$line" arrIN=(${$line//,/ }) echo arrIN if [$line == '?'] then echo "i have" fi done < adult-income-dataset.csv