Subject: Re: bug#20474: tr command

From: Erik Auerswald <[email-masked]>
Date: Fri, 1 May 2015 14:32:38 +0200

Hi,

On Thu, Apr 30, 2015 at 11:10:52AM -0600, Eric Blake wrote:
> On 04/30/2015 10:31 AM, Joseph Piette wrote:
> > When transferring files from the Windows environment to the Linux environment we execute a script to remove the \cr characters. The script performs a simple
> > 
> > tr -d '\r'  < input  > output
> > [...]
> 
> Another thing to try: the 'dos2unix' command exists in many Linux
> distros as a way to automate the work without having to figure out the
> commands to run yourself.

Many other Linux distros provide the 'recode' command instead.

Erik