Skip to content

Instantly share code, notes, and snippets.

@twalker
Created May 4, 2012 17:10
Show Gist options
  • Save twalker/2596289 to your computer and use it in GitHub Desktop.
Save twalker/2596289 to your computer and use it in GitHub Desktop.
Remove BOM from js files
# Removing BOM from all js files in current directory:
sed -i '1 s/^\xef\xbb\xbf//' *.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment