dos2unix

  • Purpose: Converts text files from Windows format (CRLF) to Unix format (LF).
  • Use case: Prepares a script so it can be correctly parsed and run in Unix-like systems.
  • Does not execute the script.

install by :

sudo apt install dos2unix