If you have a file with two columns
And you want to each value from each row each colum into a variable X and Y. For example:
X=Abc Y=123 and use those values in some function like
Add = $X , $Y.
So for each x value and y value , you need to use these values for the function and then go to next value of x and y.
I am able to use awk to get column 1 and 2, but not able to use those values as $X and $Y for each row and each coulmn transaction.
cat “File.txt” | while read a b