Created
February 26, 2023 14:56
-
-
Save romiras/77eaad109fed0555339fdaaff08677ba to your computer and use it in GitHub Desktop.
Replace shebang line in place in all files in Ruby `bin`directory from version 2.7.6 to 2.7.7 on MacOS
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
# using ripgrep on macos | |
for f in $(rg --files-with-matches -F '2.7.6/'); do sed -i '' 's/\/2\.7\.6\//\/2\.7\.7\//' $f; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment