Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 May 2006 16:48:14 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        FreeBSD Daemon <free.bsd@gmx.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: "^M"
Message-ID:  <20060503044814.GA30228@osiris.chen.org.nz>
In-Reply-To: <000001c66e5f$33c784e0$0201a8c0@kojo>
References:  <000001c66e5f$33c784e0$0201a8c0@kojo>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 03, 2006 at 11:10:50AM +0800, FreeBSD Daemon wrote:
> Dear list,
> 
> How can I non-manually remove the "^M" line breaks from my text files

$ tr -d "\r" < text-file > text-file-without

-- 
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
                                         "Nyuck, nyuck, nyuck" - Curly



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