title: Save new file name using wildcards with awk
body: <p>I have 22 files named with numbers that go to 1 to 22. Like: </p>
  
  <blockquote>
    <p>bla.chr1.bla.norm</p>
    
    <p>bla.chr2.bla.norm</p>
    
    <p>etc...</p>
  </blockquote>
  
  <p>I made a simple awk script to add on the first column that particular number of the filename:</p>
  
  <pre><code>for i in {1..22}
  
  do 
  
  awk '{print "'"$i "'" $0}' *.chr${i}.*.norm &gt; *.chr${i}.*.norm.chr 
  
  done
  </code></pre>
  
  <p>But now I want to save all the files using the wildcard I used before. Is it possible?</p>