I want to make a script that will read a multi line input and put each line into a separate variable.
I will not know how many lines the input will have or what each line will contain.
If someone could help me fill in this in I would appreciate it
while read -r line
do
#somehow make each line of $line a separate variable
done #after hitting enter? not sure how to do that
1 Answer