-
-
Save Broxzier/dcea05d9d73f759ad909d78a89fb5fcd to your computer and use it in GitHub Desktop.
A command to remove the UTF-8 BOM and make line ending consistent for all *.cs files. The `*.cs` filter can of course be changed to any text file.
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
find . -name "*.cs" -print0 | xargs -0 sed -i 's/\xef\xbb\xbf//' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment