From owner-freebsd-questions Sun May 6 11:16:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from lubbockcomputer.com (cx399446-c.lbbck1.tx.home.com [24.179.72.230]) by hub.freebsd.org (Postfix) with SMTP id A53CE37B423 for ; Sun, 6 May 2001 11:16:19 -0700 (PDT) (envelope-from clcont@lubbockcomputer.com) Received: (qmail 11983 invoked by uid 99); 6 May 2001 18:15:46 -0000 Date: 6 May 2001 18:15:46 -0000 Message-ID: <20010506181546.11982.qmail@lubbockcomputer.com> From: "Christopher Leigh" To: freebsd-questions@freebsd.org Subject: how to remove ^M from files with tr? X-Mailer: NeoMail 1.23 X-IPAddress: 216.167.136.145 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi. i'd like to remove ^M from files with tr, but i don't know how to do it. i *THINK*, i'm not sure if my memory serves me right, but... tr -d \\015\\012 < file.txt > file.txt.unix worked in linux, but it won't work in freebsd. i apologize. i did read the tr man page. i did! i did! :-> regards, christopher PS I want this **WITH** tr, not with vi, not with anything else! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message