title: Selecting a file from a list
body: <p>How can I select files one by one from a list and work on them? This is my code:</p>
  <pre><code>list=$( find $path \( -name &quot;*.c&quot; -or -name &quot;*.cpp&quot; -or -name &quot;*.cxx&quot; -or -name &quot;*.cc&quot; \) )
  for file in &quot;$list&quot;
  do
  done
  </code></pre>