Created
June 15, 2020 18:40
-
-
Save nkezhaya/4492a87e149d70c7cb7e535624c4d340 to your computer and use it in GitHub Desktop.
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
| find src/views -name '*.html' -type f -exec ruby -pi.bak -e 'gsub(/\bcol-(\w{2,4}-)?(\d+)\b/){"col-#{Regexp.last_match[1]}#{Integer(Regexp.last_match[2])*2}"}' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment