Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2003 21:39:33 -0600
From:      Bryan Cassidy <b_cassidy@bellsouth.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Remove ^M characters from xhtml file
Message-ID:  <20031130213933.72712e71.b_cassidy@bellsouth.net>
In-Reply-To: <20031130212913.1d7c0126.b_cassidy@bellsouth.net>
References:  <20031201031602.GA80581@bsdjunky.homeunix.org> <20031130191746.09011caf.end@endif.cjb.net> <20031130212913.1d7c0126.b_cassidy@bellsouth.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Well, I take that back. It worked on 1 file and then ir started erasing
the contents of the file.

On Sun, 30 Nov 2003 21:29:13 -0600
Bryan Cassidy <b_cassidy@bellsouth.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Sorry about sending you a e-mail directly. The tr -d '/r' < name >
> newname worked perfect. Thanks.
> 
> On Sun, 30 Nov 2003 19:17:46 -0700
> Robin Schoonover <end@endif.cjb.net> wrote:
> 
> > 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
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe@freebsd.org"
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (FreeBSD)
> 
> iD8DBQE/yrWJm8uTTHnDH3ERAoMmAJ4wNxUHEGTzOImkD9rxR+rAsb3c9gCghBha
> OstE8EoA4n4FaKIa+lTp2mw=
> =83Sy
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/yrf1m8uTTHnDH3ERAuZHAJ9cJmkgPKcH4M7SfFByydaH97I1JgCgoN5T
o/kW51mvb28bn9tR0bZGGAg=
=rTBp
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031130213933.72712e71.b_cassidy>