When go through -r line; do # $'n' prints a newline so we do not have to determine what Particular chars the string is made up of stringBuilder+="$line"$'n' Nonetheless when you ended up to replace printf with echo in this instance, echo would treat n being a string, As a https://petskyonline-onlinestrore.blogspot.com/2025/07/the-day-my-cat-got-automatic-feeder-and.html