title: Looping through find output in Bash where file name contains white spaces
body: <p>I try to search for files that may contain white spaces I try to use <code>-print0</code> and set <code>IFS</code> here is my script</p>
  
  <pre class="lang-bsh prettyprint-override"><code>IFS=$'\0';find people -name '*.svg' -print0 | while read file; do
      grep '&lt;image' $file &gt; /dev/null &amp;&amp; echo $file | tee -a embeded_images.txt;
  done
  </code></pre>
  
  <p>I try to fine all svg file containing embeded images, it work without -print0 but fail one one file so I stop the script. Here is simpler example that don't work too</p>
  
  <pre class="lang-bsh prettyprint-override"><code>IFS=$'\0';find . -print0 | while read file; do echo $file; done
  </code></pre>
  
  <p>it don't display anything.</p>