Created
September 27, 2011 05:46
-
-
Save jpablobr/1244424 to your computer and use it in GitHub Desktop.
ruby gsub one-liner
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
ruby -i.bak -pe "gsub(/link_to/,'button_to')" *.erb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment