title: Applying sed with multiple files
body: <p>I have many folders with file <code>patch_data.conf</code>.</p>
  
  <p>I have create this script:</p>
  
  <pre><code>#!/bin/bash    
  Directory=~/MIUI_developer
  stringreplace="include "/home/miui-tool/Patches_jbart/MIUI_9/patches/Weather/Weather.ptch";"
  stringnew="#include "/home/miui-tool/Patches_jbart/MIUI_9/patches/Weather/Weather.ptch";"
  
  sudo find $Directory -type f -name "patch_data.conf" -exec sed -i 's/$stringreplace/$stringnew/g' {} \;
  </code></pre>
  
  <p>When launch this command I get this output:</p>
  
  <pre><code>sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  sed: -e expression #1, char 20: unknown option to `s'
  </code></pre>
  
  <p>How can I solve it?</p>