Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2003 15:54:03 -0400
From:      "Will Saxon" <WillS@housing.ufl.edu>
To:        "Fabio Miranda Hamburger" <fabmirha@ns.isi.ulatina.ac.cr>, <questions@FreeBSD.org>
Subject:   RE: tr
Message-ID:  <0E972CEE334BFE4291CD07E056C76ED8DB2EB2@bragi.housing.ufl.edu>

next in thread | raw e-mail | index | archive | help
cat filename | tr -d '\r' > output && mv output filename

There is also a method spat out by fortune every once in awhile, using =
col, but I can't remember it.

-Will

> -----Original Message-----
> From: Fabio Miranda Hamburger [mailto:fabmirha@ns.isi.ulatina.ac.cr]
> Sent: Friday, June 20, 2003 3:45 PM
> To: questions@FreeBSD.org
> Subject: tr
>=20
>=20
> How can I remove annoy "^D" end of line from MS systems?
> I know there is an utility called dos2unix.
> But I think It's possible to do it with freebsd tr.
> How would that be?
>=20
> thanks,
>=20
> ---
> Fabio Andres Miranda
> Ingenieria de sistemas informaticos
> Universidad Latina - Costa Rica
>=20
>=20
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to=20
> "freebsd-questions-unsubscribe@freebsd.org"
>=20



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