I have \"I love Suzi and Marry\" and I want to change \"Suzi\" to \"Sara\".
#!/bin/bash firstString=\"I love Suzi and Marry\" secondString=\"Sara\" # do some
try this:
sed "s/Suzi/$secondString/g" <<<"$firstString"