scite

Edit file so that it is unix compatible using scite

Tag(s):

  1. In Scite, select Options->Line End Characters->LF.
  2. Select Options->Convert Line End Characters.

Common error messages:

bash: ./your-script-name.sh: /bin/sh^M: bad interpreter: No such file or directory

Remove empty line

Remove empty line using scite/notepad++:

Find \n\r and replace with nothing. Check Transform backslash expressions and make sure to uncheck Regular expressions.

Subscribe to RSS - scite