From owner-freebsd-questions Fri Jun 8 5:58:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from exchange.twowaytv.co.uk (exchange.twowaytv.co.uk [194.6.2.173]) by hub.freebsd.org (Postfix) with ESMTP id D4C6537B403 for ; Fri, 8 Jun 2001 05:58:17 -0700 (PDT) (envelope-from ADyas@twowaytv.com) Received: by EXCHANGE with Internet Mail Service (5.5.2653.19) id ; Fri, 8 Jun 2001 13:54:34 +0100 Message-ID: <911D8F660DF6D411B61F00500462BA019261CC@EXCHANGE> From: Alex Dyas To: David Leimbach , questions@freebsd.org Subject: RE: __ how to eliminate "^M" in ASCII files. Date: Fri, 8 Jun 2001 13:54:29 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > cat file | tr '\015' ' ' > > all ^M replaced with spaces... maybe not the best example. cat file | tr -d '\015' gets rid of them. alex... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message