Shell Halten Sie die Newline bei Ausgang
# You want to say
echo "$lines"
# instead of
echo $lines
# $, $() and `` remove \n \t ...
# By "string-ing" it, it keeps them.
Destroyer of seg faults