Date: Thu, 10 Aug 2000 07:12:31 +0200 From: Erik Trulsson <ertr1013@student.uu.se> To: Kisanak <kisanak@cbn.net.id> Cc: questions@FreeBSD.org Subject: Re: ^M Message-ID: <20000810071231.B1409@student.uu.se> In-Reply-To: <NEBBLICCKKPKJABLGBLMEECNCHAA.kisanak@cbn.net.id>; from kisanak@cbn.net.id on Thu, Aug 10, 2000 at 11:25:00AM %2B0700 References: <NEBBLICCKKPKJABLGBLMEECNCHAA.kisanak@cbn.net.id>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 10, 2000 at 11:25:00AM +0700, Kisanak wrote: > Dear All. > How do I get rid off all "^M" word in a text file: > > <html>^M > <head>^M > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">^M > <meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">^M > > Thanks > Kisanak. Wasn't this question asked just a few days ago? Yes it was. There are many ways of doing this. One way is to pipe the file through tr(1). Example: tr -d '\r' < infile > outfile -- <Insert your favourite quote here.> Erik Trulsson ertr1013@student.uu.se 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?20000810071231.B1409>
