Remove ^M characters from xhtml file

Alex de Kruijff freebsd at akruijff.dds.nl
Sun Nov 30 18:18:26 PST 2003


On Sun, Nov 30, 2003 at 09:16:02PM -0600, Bryan Cassidy wrote:
> I've downloaded a couple of .xhtml files and they have ^M characters
> all through it. I tried the col -b < name > newname command on these
> files but when I do that it erases the whole document. Any ideas?

There's a port called dos2unix of unix2dos that you could let loos on
it.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/


More information about the freebsd-questions mailing list