Date: Thu, 29 Aug 2002 18:38:23 -0500 From: Scott Robbins <scottro@nyc.rr.com> To: Warner Joseph <Joseph.Warner@siemens.com> Cc: "'FreeBSD-Questions@FreeBSD.org'" <FreeBSD-Questions@FreeBSD.ORG>, "'FreeBSD-Newbies@FreeBSD.org'" <FreeBSD-Newbies@FreeBSD.ORG> Subject: Re: Port to Remove ^M Message-ID: <20020829233823.GA5334%scottro@despammed.com> In-Reply-To: <F59D56D98019A24391D6396DD708C821010DAC5B@MLVV9MBE.usmlvv1p0a.smshsc.net> References: <F59D56D98019A24391D6396DD708C821010DAC5B@MLVV9MBE.usmlvv1p0a.smshsc.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 29, 2002 at 06:07:28PM -0400, Warner Joseph wrote: > Hi, >=20 > Can anyone tell me real quick the name of > the port used to remove the ^M from files > that have been copied over from Windows? There's a program called tr. I'm not sure where it is in ports, though.=20 Syntax, IIRC is tr -d "\r" < filewith^M > newfile. Make a backup of filewith^M first though--once I mistyped and wound up with a file that was like the orignal--save it had no r's in it. I believe it's part of a default install--I just checked on a 4.6.2 that I installed today and it's there. HTH --=20 Scott PGP keyID EB3467D6 (1B48 077d 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Buffy: So. You saw their faces, but you can't describe them. Spike: Well, they were human. Two eyes each, kind of in the middle. --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9brBv+lTVdes0Z9YRAuYsAKC8Ghqjb7AIkXmTJDYPGosJjfjLdACgrSPZ fquAow/g5Fy5PuMXyl7GdwA= =RKy6 -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020829233823.GA5334%scottro>