Created
May 3, 2021 18:24
-
-
Save lrasmus/bb1dacb8670277c05ce8e5a021222f17 to your computer and use it in GitHub Desktop.
Remove BOM from file on macOS / 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
# Via: https://unix.stackexchange.com/a/412845 | |
vi -c ":set nobomb" -c ":wq" <filename.txt> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment