I want to be able to read in input which contain spaces and put that into an array. Each field should be delimeted by a space and should be a different array element. However I cant get it to work. any tips?
Code:
read input
//type field1 field2 field3
echo "$input"
array="$input"