#!/bin/bashsed 's/[^[:space:]]*:/prepend_&/g' <<< "some data here word:number more:here"
Standard input is empty
some data here prepend_word:number prepend_more:here
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!