title: How to print files name from... to
body: <p>I have to print the content of specify files from list of file as below. Date in the begining files name is changeable and the part "_lol_lol.txt" is constans.</p>
  
  <pre><code>ls
  2015-01-03_lol_lol.txt
  2015-01-24_lol_lol.txt
  ...
  2015-10-23_lol_lol.txt
  2015-10-24_lol_lol.txt
  ...
  2015-11-14_lol_lol.txt 
  2015-11-15_lol_lol.txt 
  2015-11-16_lol_lol.txt 
  2015-11-17_lol_lol.txt 
  2015-11-18_lol_lol.txt 
  2015-11-19_lol_lol.txt
  2015-11-20_lol_lol.txt 
  2015-11-21_lol_lol.txt 
  2015-11-22_lol_lol.txt 
  2015-11-23_lol_lol.txt 
  2015-11-24_lol_lol.txt 
  2015-11-25_lol_lol.txt
  </code></pre>
  
  <p>Every file contains some data, for the purpose of case:</p>
  
  <pre><code>cat 2015-01-03_lol_lol.txt
  2015-01-03
  cat 2015-01-24_lol_lol.txt
  2015-01-24
  ...
  cat 2015-10-23_lol_lol.txt
  2015-10-23
  cat 2015-10-24_lol_lol.txt
  2015-10-24
  ...
  cat 2015-11-14_lol_lol.txt
  2015-11-14
  cat 2015-11-15_lol_lol.txt
  2015-11-15
  ...
  cat 2015-11-25_lol_lol.txt
  2015-11-25
  </code></pre>
  
  <p>And I want to print content of fles from fange "from" "to" and both "from" and "to" is variable (defined by user, depending on the needs):</p>
  
  <pre><code>2015-11-15_lol_lol.txt
  2015-11-16_lol_lol.txt 
  2015-11-17_lol_lol.txt
  </code></pre>
  
  <p>Expectet result:</p>
  
  <pre><code>2015-11-15
  2015-11-16
  2015-11-17
  </code></pre>
  
  <p>But when I use command:</p>
  
  <pre><code>for i in {"2015-11-15".."2015-11-17"};do echo  $i_lol_lol.txt ;done
  </code></pre>
  
  <p>Bash returns:</p>
  
  <pre><code>{2015-11-15..2015-11-17}.txt
  </code></pre>
  
  <p>Because like @karoshi if I use "-" whole expression is recognize like string.</p>
  
  <p>I tried:</p>
  
  <pre><code>y1=2015;
  y2=2015;
  m1=11;
  m2=11;
  d=15
  z=17
  
  #for i in {${y1}..${y2}}; do
     for j in {${m1}..${m2}}; do
             for k in {${d1}..${d2}}; do
                     cat ${i}-${j}-${k}_lol_lol.txt
             done
     done
  done`
  </code></pre>
  
  <p>But result is simmilar.</p>
  
  <p>Could you help?</p>