Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2002 18:17:15 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        Joseph.Warner@siemens.com (Warner Joseph)
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:  <200208292217.g7TMHFF01117@clunix.cl.msu.edu>
In-Reply-To: <F59D56D98019A24391D6396DD708C821010DAC5B@MLVV9MBE.usmlvv1p0a.smshsc.net> from "Warner Joseph" at Aug 29, 2002 06:07:28 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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" <INFILE >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




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