If you need to strip carriage return characters from a text file, you can use Vim:
vim file.txt :set ff=unix :wq
Save money by migrating from AWS to our fully managed hosting in Germany.