Side note: if you want to use
read for this, get familiar with IFS= read -r.
read for this, get familiar with IFS= read -r.