Skip to main content

loop through lines in a variable

while IFS= read -r line; do
echo "... $line ..."
done <<< "$list"