On 02/03/14 16:14, Joseph wrote:
I have a text file. How do I search and replace "carriage return"?
I've tried: cat 16.txt | tr -d "\r \n " > 17.txt but it removes all the spaces as well. I need to replace carriage retrn with space. -- Joseph
On 02/03/14 16:14, Joseph wrote:
I have a text file. How do I search and replace "carriage return"?
I've tried: cat 16.txt | tr -d "\r \n " > 17.txt but it removes all the spaces as well. I need to replace carriage retrn with space. -- Joseph