Let's make this example:
echo "Choose your color and number: "
My answer: Blue 2
I want to read the first word and the second word, something like this:
read COLOR NUMBER
and then I can use $COLOR
(first word, or Blue
) and $NUMBER
(second word, or 2
) as variables
How can I do it? Thanks