Created
October 29, 2010 02:10
-
-
Save liwh/652752 to your computer and use it in GitHub Desktop.
快速添加到每一个文件的方法
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
find app -iname '*.rb' | xargs sed -i '1 i\# encoding: utf-8' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment