Created
September 13, 2019 23:33
-
-
Save naganowl/8b9d95299dfde279fe7e583a43fd51d5 to your computer and use it in GitHub Desktop.
Replace Coffee w/ JS in all lines except if it contains `..`
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
grep -lr \.coffee app/assets/ | xargs sed -i '' -e '/\.\./!s/coffee/js/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment