Created
January 16, 2020 15:39
-
-
Save Bogdaan/f69839a8e100ed2a22e4f5ae54cd5cfc to your computer and use it in GitHub Desktop.
Convert to camelcase
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
camelcase() { | |
perl -pe 's#(_|^)(.)#\u$2#g' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment