Created
March 24, 2015 14:50
-
-
Save jbryson3/25e6cafee46fa565df3d to your computer and use it in GitHub Desktop.
OSX regex replace
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
grep -rl "require 'modules.*'" . | xargs sed -i "" "s/require 'modules(.*)'/require 'master-chief-cli$1'/g" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment