MANGAPUL

Independent IT and Services Professional

  • Blog
  • About
  • Software Antrian Tobasa
  • Labels
    • Tutorial
    • Script
    • Troubleshooting

Remove ^M from windows text file

Jefri Sibarani at 9/17/2024


Here is an example using sed to remove
the ^M carriage returns from a file.

# inplace (works!)
sed -i "s/\r//g" windows-text-file.txt
sed -e "s/^M//" filename > newfilename
bash , Script , snippet

No comments :

Post a Comment

  • Popular
  • Labels
  • Pages

Popular Posts

  • Instalasi software antrian Tobasa
  • Instalasi SQL Server 2008 R2 Express
  • Konfigurasi Aplikasi Antrian Tobasa
  • Download software antrian tobasa
  • SQL Server 2008 TCP/IP Network Configuration
  • Petunjuk Instalasi Lanjutan Antrian Tobasa
  • Membuat dan Restore Database SQL Server Aplikasi Antrian Tobasa
  • Setting Windows Firewall untuk SQL Server
  • Software Antrian Tobasa 2022
  • QueueService sebagai Windows Service

Labels

  • Antrian Tobasa 14
  • Script 10
  • SQL Server 9
  • Tutorial 9
  • Windows 8
  • Configuration 7
  • snippet 5
  • Troubleshooting 4
  • Email Server 2
  • Linux 2
  • Open Source 2
  • Windows Firewall 2
  • bash 2
  • ssl 2
  • xampp 2
  • Antivirus 1
  • Gateway 1
  • MS Office 1
  • OpenOffice 1
  • Postfix 1
  • Regedit 1
  • SQLite Database 1
  • Squid 1
  • Story 1
  • VMware 1
  • VirtuaBox 1
  • database 1
  • for loop 1
  • gimp 1
  • plink 1
  • ssh 1
  • Home
  • Software Antrian Tobasa
  • About
  • Privacy Policy
  • Disclaimer
  • Tobasa di GitHub

Blog template by Jefri Sibarani
. Powered by Blogger.
Copyright © 2026 Jefri Sibarani