Last active
December 5, 2016 06:04
-
-
Save k-kurikuri/51a8d0b55c1a49959cd67532f13a1d9b to your computer and use it in GitHub Desktop.
snake_case to camelCase sed command
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
#!/bin/bash | |
echo $1 | sed -r 's/_(.)/\U\1\E/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment