** Except that $(...) trims off TRAILING newlines, so if the last line(s) of the file are blank they'll vanish.