There should be a program called dos2unix
that will fix line endings for you. If it’s not already on your Linux box, it should be available via the package manager.
More Related Contents:
- What characters are forbidden in Windows and Linux directory names?
- How can I determine whether a specific file is open in Windows? [closed]
- What is the difference between mutex and critical section?
- System Calls in windows & Native API?
- Why is creating a new process more expensive on Windows than Linux?
- Concurrency in a GIT repo on a network shared folder
- ^M at the end of every line in vim
- Does Windows have Inode Numbers like Linux?
- Adding a directory to the PATH environment variable in Windows
- Git symbolic links in Windows
- Parallel execution of shell processes
- Generating a unique machine id
- How to smooth ugly jitter/flicker/jumping when resizing windows, especially dragging left/top border (Win 7-10; bg, bitblt and DWM)?
- Prevent windows from going into sleep when my program is running?
- How can I create an empty file at the command line in Windows?
- Is there replacement for cat on Windows
- Secure FTP using Windows batch script
- Get information about disk drives result on windows7 – 32 bit system
- Unix tail equivalent command in Windows Powershell
- Curl not recognized as an internal or external command, operable program or batch file
- Why %processor_architecture% always returns x86 instead of AMD64
- What is the equivalent of unbuffer program on Windows?
- How do I call a Windows shell command using VB6?
- Why is the FOR /f loop in this batch script evaluating a blank line?
- Do threads have a distinct heap?
- Git rename from index.lock to index failed
- Uninstall without an MSI file
- Embedding Windows Media Player for all browsers
- NLTK v3.2: Unable to nltk.pos_tag()
- Best way to script remote SSH commands in Batch (Windows)