From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Vincent.D'Antonio@bisys.com Newsgroups: gmane.os.tru64.managers Subject: remove ^M from a file Date: Fri, 10 May 2002 15:30:52 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1021060518 24149 127.0.0.1 (10 May 2002 19:55:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 10 May 2002 19:55:18 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 176GU1-0006HO-00 for ; Fri, 10 May 2002 21:55:17 +0200 Original-Received: (qmail 18668 invoked by uid 5); 10 May 2002 19:35:20 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 18660 invoked from network); 10 May 2002 19:35:20 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (134.167.3.110) by 0 with SMTP; 10 May 2002 19:35:20 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GVW009KSUEWZB@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 10 May 2002 15:35:20 -0400 (EDT) Original-Received: from ntpromail2.bps.com ([205.166.36.66]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GVW00AG3UES45@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 10 May 2002 15:35:17 -0400 (EDT) Original-To: tru64-unix-managers@ornl.gov X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001 X-MIMETrack: Serialize by Router on NTPROMAIL2/BISYS_BPS(Release 5.0.8 |June 18, 2001) at 05/10/2002 03:31:08 PM Xref: main.gmane.org gmane.os.tru64.managers:146 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:146 Good day, does anyone know how through a script to remove the ^M from the end of a line in a file? I am running tru64 5.1 PK3. thanks Vince --------------------------------------------------------------------------------------------------------- Vincent D'Antonio Unix Systems Engineer Bisys Retirement Services 200 Dryden Road Dresher, PA 19025 phone: 215-542-2555 fax: 215-542-2603 e-mail: Vincent.D'Antonio@bisys.com