Skip to content

Instantly share code, notes, and snippets.

@swas
Created March 3, 2014 17:53
Show Gist options
  • Save swas/9330554 to your computer and use it in GitHub Desktop.
Save swas/9330554 to your computer and use it in GitHub Desktop.
Remove UTF-8 Byte Order Mark BOM
find . -type f -regex '.*html$' -exec sed -i 's/\xEF\xBB\xBF//' '{}' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment