Date: Sun, 12 Apr 1998 17:22:25 -0500 From: Dan Nelson <dnelson@emsphone.com> To: Joe Marcus Clarke <marcus@miami.edu>, George Vagner <kf7nn@mutsgo.dyn.ml.org>, FreeBSD User Questions List <freebsd-questions@FreeBSD.ORG> Subject: Re: ^M remove Message-ID: <19980412172225.A7661@emsphone.com> In-Reply-To: <Pine.OSF.3.96.980412180721.23530D-100000@jaguar.ir.miami.edu>; from "Joe Marcus Clarke" on Sun Apr 12 18:07:42 GMT 1998 References: <Pine.OSF.3.96.980412180721.23530D-100000@jaguar.ir.miami.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Apr 12), Joe Marcus Clarke said: > I came across two perl scripts a while back to this (one to remove them > and one to add them). I didn't write them, I just modified them. > They're included. You need perl to use them. Joe, you seem to have forgotten something in that last email :) > On Sun, 12 Apr 1998, George Vagner wrote: > > someone posted a way to remove those pesky > > ^M characters from dos files. > > > > can someone tell me how again please? I remove ^Ms with tr -d "\r" < file1 > file2 A neat way to convert a whole directory tree of files is to zip them up, then unzip them with the -a flag, which does the ASCII conversion. -Dan Nelson dnelson@emsphone.com 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?19980412172225.A7661>