# You want to say echo "$lines" # instead of echo $lines # $, $() and `` remove ... # By "string-ing" it, it keeps them.