Skip to content

Instantly share code, notes, and snippets.

@sandinist
Created December 25, 2011 18:46
Show Gist options
  • Save sandinist/1519600 to your computer and use it in GitHub Desktop.
Save sandinist/1519600 to your computer and use it in GitHub Desktop.
gsed magic comment
gsed -i '1s/.*/# encoding:utf-8\n&/' **/*.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment