title: Awk: How to work on multiple files.txt in folder and subfolders?
body: <p><strong>Given a folder with subfolders themselves with multilangual .txt files</strong> such as:</p>
  
  <pre><code>But where is Esope the holly Bastard
  But where is 생 지 옥 이 군
  지 옥 이
  지 옥
  지
  我 是 你 的 爸 爸 ！
  爸 爸 ！ ！ ！
  你 不 會 的 ！
  </code></pre>
  
  <p>I already know how to <strong><a href="https://stackoverflow.com/questions/15601997/awk-characters-frequency-from-one-text-file/15602055#15602055">count space-separated word-frequency within ONE file.txt</a></strong> :</p>
  
  <pre><code>$ grep -o '\w*' myfile.txt | awk '{a[$1]++}END{for(k in a)print a[k],k}' | sort &gt; myoutput.txt
  </code></pre>
  
  <p>Getting the elegant :</p>
  
  <pre><code>1 생
  1 군
  1 Bastard
  1 Esope
  1 holly
  1 the
  1 不
  1 我
  1 是
  1 會
  2 이
  2 But
  2 is
  2 where
  2 你
  2 的
  3 옥
  4 지
  4 爸
  5 ！
  </code></pre>
  
  <p><strong>How to change the code to work on multiples files within a folder and its subfolders, all presenting a similar pattern ( *.txt at least) ?</strong></p>