Created
November 21, 2014 05:52
-
-
Save lyonsun/70abfee8c7b1e0ec36fc to your computer and use it in GitHub Desktop.
set unix line endings in linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To fix, open your script with vi or vim and enter in vi command mode (key ESC), then type this: | |
:set fileformat=unix | |
Finally save it | |
:x! or :wq! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment