I need to read the following input into separate columns as variables? input.txt
b73_chr10 w22_chr9
w22_chr7 w22_chr10
w22_chr8 w22_chr6
I have written the following command;but I guess it is not correct.
value1=$(echo $line| awk -F\ '{print $1}' input.txt)
value2=$(echo $line| awk -F\ '{print $2}' input.txt)