title: unexpected EOF while looking for matching `}'
body: <p>I have below command which is working fine if I hard code the values -</p>
  
  <pre><code>find . -name '*txt' -exec bash -c ' mv $0 ${0/\7777/4444}' {} \;
  </code></pre>
  
  <p>it replace <code>4444</code> with <code>7777</code></p>
  
  <p>But when I trying by passing value using variable with double quotes, it is not working -</p>
  
  <pre><code>SourceString1=7777 and TargetString1=4444
  find . -name '*txt' -exec bash -c ' mv "{$0}" "${0/\"${SourceString1}"/"${TargetString1}"}"' {} \;
  </code></pre>