title: handling many input files and separating many output files by awk
body: <p>I have many input files e.g. 1.txt, 2.txt, 3.txt
  All the file names are listed in filelist.dat in one column.</p>
  
  <pre><code>awk '{print $1}' $(cat filelist.dat) &gt; all.dat
  </code></pre>
  
  <p>In file all.dat, the first field values of three files are written.</p>
  
  <p>I want to separate the one output file to three files corresponding to input files.</p>