fork download
  1. #!/bin/bash
  2. echo 'foo_bar_baz=foo_bar_baz' | sed -E ':a;s/^([^=_]*)_([[:alnum:]])/\1\U\2/g; ta'
Success #stdin #stdout 0s 4400KB
stdin
Standard input is empty
stdout
fooBarBaz=foo_bar_baz