#!/bin/bashs='name "myName"place "xyz"'sed 's/^name .*/name "Jon"/;s/^place .*/place "paris"/' <<< "$s"
Standard input is empty
name "Jon" place "paris"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!