Created
April 7, 2014 07:44
-
-
Save xarimanx/10016225 to your computer and use it in GitHub Desktop.
appen new line to file
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
find . -name *.rb | xargs perl -i.orig -pe 'print "# encoding: utf-8\n" if $. == 1; close ARGV if eof' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment