Date: Sun, 30 Nov 2003 19:17:46 -0700 From: Robin Schoonover <end@endif.cjb.net> To: Bryan Cassidy <b_cassidy@bellsouth.net> Cc: freebsd-questions@freebsd.org Subject: Re: Remove ^M characters from xhtml file Message-ID: <20031130191746.09011caf.end@endif.cjb.net> In-Reply-To: <20031201031602.GA80581@bsdjunky.homeunix.org> References: <20031201031602.GA80581@bsdjunky.homeunix.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 30 Nov 2003 21:16:02 -0600, Bryan Cassidy <b_cassidy@bellsouth.net> 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? dos2unix (converters/unix2dos in ports) is an easy route (dos2unix name). Also you can use the tr command (tr -d '\r' < name > newname). -- Robin Schoonover (aka End) # # You hear the moon howling at you. # -- NetHack
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031130191746.09011caf.end>