Skip to content

Instantly share code, notes, and snippets.

@k-kurikuri
Last active December 5, 2016 06:04
Show Gist options
  • Save k-kurikuri/51a8d0b55c1a49959cd67532f13a1d9b to your computer and use it in GitHub Desktop.
Save k-kurikuri/51a8d0b55c1a49959cd67532f13a1d9b to your computer and use it in GitHub Desktop.
snake_case to camelCase sed command
#!/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