Created
July 5, 2013 06:18
-
-
Save shuhei/5932345 to your computer and use it in GitHub Desktop.
Replace Ruby 1.8 style hashes with 1.9 style on Mac.
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 '*.haml' -o -name '*.rb' \) -exec sed -i '' "s/ :\([^ ']*\) => / \1: /g" {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment