From owner-freebsd-questions Thu Aug 29 15:17:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52FC937B400; Thu, 29 Aug 2002 15:17:18 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABFE043E42; Thu, 29 Aug 2002 15:17:17 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.6+Sun/8.11.6) id g7TMHFF01117; Thu, 29 Aug 2002 18:17:15 -0400 (EDT) From: Jerry McAllister Message-Id: <200208292217.g7TMHFF01117@clunix.cl.msu.edu> Subject: Re: Port to Remove ^M To: Joseph.Warner@siemens.com (Warner Joseph) Date: Thu, 29 Aug 2002 18:17:15 -0400 (EDT) Cc: FreeBSD-Questions@FreeBSD.ORG ('FreeBSD-Questions@FreeBSD.org'), FreeBSD-Newbies@FreeBSD.ORG ('FreeBSD-Newbies@FreeBSD.org') In-Reply-To: from "Warner Joseph" at Aug 29, 2002 06:07:28 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > Hi, > > 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? > > I thought it was in /usr/ports/www but I can't > remember the name of it. I don't know about a port, but the translate (tr) utility works well. Try: tr -d "\r" OUTFILE ////jerry > > Thanks > > Joe > > > > ------------------------------------------------------------------------------- > This message and any included attachments are from Siemens Medical Solutions > Health Services Corporation and are intended only for the addressee(s). > The information contained herein may include trade secrets or privileged or > otherwise confidential information. Unauthorized review, forwarding, printing, > copying, distributing, or using such information is strictly prohibited and may > be unlawful. If you received this message in error, or have reason to believe > you are not authorized to receive it, please promptly delete this message and > notify the sender by e-mail with a copy to CSOffice@smed.com. Thank you > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message