notepad.exe displays new-line characters as 'boxes' if not prefixed by '\r'. Although it could be argued that it hardly qualifies as a 'display tool'. wordpad.exe can handle this format. I would have thought that the simplest (though not necessarily most efficient) way of getting rid of new-lines at the end of text was: