Last active
March 22, 2016 19:12
-
-
Save arkiver/b2b7ee6b068eb32e38d4 to your computer and use it in GitHub Desktop.
Replace all occurrences of and with && in all ruby files in current directory
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
perl -pi -w -e 's/ and/ &&/g;' *.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment