Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jun 2001 13:54:29 +0100 
From:      Alex Dyas <ADyas@twowaytv.com>
To:        David Leimbach <dleimbac@earthlink.net>, questions@freebsd.org
Subject:   RE: __ how to eliminate "^M" in ASCII files.
Message-ID:  <911D8F660DF6D411B61F00500462BA019261CC@EXCHANGE>

next in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?911D8F660DF6D411B61F00500462BA019261CC>