-
-
Save joujiahe/cc39b31c50e466e6aa6716eb199851b5 to your computer and use it in GitHub Desktop.
Replace DOS line endings to Unix style in MacOS
This file contains 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 get ^M, type CTRL-V and CTRL-M | |
find . -type f -name '*.ts' -exec perl -p -i -e "s/^M//g" {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment