# get input from user via CLI echo "Paste import config..." IFS= read -d '' -n 1 importvariable while IFS= read -d '' -n 1 -t 2 c do importvariable+=$c done