Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] search and replace "carriage return"
Date: Mon, 03 Feb 2014 23:23:39
Message-Id: 20140203232354.GB6850@syscon7.ed.shawcable.net
In Reply to: [gentoo-user] search and replace "carriage return" by Joseph
1 On 02/03/14 16:14, Joseph wrote:
2 >I have a text file. How do I search and replace "carriage return"?
3
4 I've tried:
5 cat 16.txt | tr -d "\r \n " > 17.txt
6
7 but it removes all the spaces as well. I need to replace carriage retrn with space.
8
9 --
10 Joseph