#!/bin/bashecho 'foo_bar_BAR_space' | sed 's/_\([[:lower:]]\)/.\1/g'
Standard input is empty
foo.bar_BAR.space
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!