#!/bin/bashecho 'foo_bar_baz=foo_bar_baz' | sed -E ':a;s/^([^=_]*)_([[:alnum:]])/\1\U\2/g; ta'
Standard input is empty
fooBarBaz=foo_bar_baz
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!