Skip to content

howto - remove CrLF from file

tr -d '\r' < myFileWithCrLF > m 'tr' is a cli tool to translate or delete characters. Option '-d' is used to delete the evil carrage return '\r'. For more information take a look into the man page.