#!/bin/bash sed 's/+\{1,\}/MISSING/g' <<< "substring1+++++substring2++++++++++++++substring3+substring4"
Standard input is empty
substring1MISSINGsubstring2MISSINGsubstring3MISSINGsubstring4
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!