#!/bin/bash line=$(echo -e 'Value1\nValue2\nValue3')line="${line//$'\n'/bla}" echo "$line"
Standard input is empty
Value1blaValue2blaValue3
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!