Created
September 3, 2020 19:17
-
-
Save steverichey/05eaeb848a52109c9ec3d004b17cb437 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
set -eu | |
# macOS | |
find . -type f \( -iname \*.cs \) -exec perl -e 's/\xef\xbb\xbf//;' -pi.bak {} \; -exec rm {}.bak \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment