Get rid of the eol $ chars