title: sed extract data only between time range
body: <p>I have a file with the following entries:</p>
  <pre><code>MySql-DataBase-2020-09-22_183748.zip
  MySql-DataBase-2020-09-22_184023.zip
  MySql-DataBase-2020-09-23_205331.zip
  MySql-DataBase-2020-09-23_205606.zip
  MySql-DataBase-2020-09-24_200123.zip
  MySql-DataBase-2020-09-24_200358.zip
  MySql-DataBase-2020-09-25_115839.zip
  MySql-DataBase-2020-09-25_120115.zip
  MySql-DataBase-2020-09-26_094608.zip
  MySql-DataBase-2020-09-26_094843.zip
  MySql-DataBase-2020-09-27_122523.zip
  MySql-DataBase-2020-09-27_122758.zip
  MySql-DataBase-2020-10-01_230024.zip
  MySql-DataBase-2020-10-01_230300.zip
  MySql-DataBase-2020-10-02_120944.zip
  MySql-DataBase-2020-10-02_121219.zip
  MySql-DataBase-2020-10-03_151414.zip
  MySql-DataBase-2020-10-03_151649.zip
  MySql-DataBase-2020-10-04_211059.zip
  MySql-DataBase-2020-10-04_211334.zip
  MySql-DataBase-2020-10-05_064049.zip
  MySql-DataBase-2020-10-05_064324.zip
  </code></pre>
  <p>I want to extract Files which are between today's date &amp; 3 days back.</p>
  <p>For today's date <code>2020/10/05</code>, 3 days back is <code>2020/10/02.</code></p>
  <p>The output must be:</p>
  <pre><code>MySql-DataBase-2020-10-02_120944.zip
  MySql-DataBase-2020-10-02_121219.zip
  MySql-DataBase-2020-10-03_151414.zip
  MySql-DataBase-2020-10-03_151649.zip
  MySql-DataBase-2020-10-04_211059.zip
  MySql-DataBase-2020-10-04_211334.zip
  MySql-DataBase-2020-10-05_064049.zip
  </code></pre>
  <p>I tried using this command to gets 3days back date</p>
  <pre><code>date --date='-3 day' '+%Y/%m/%d'
  </code></pre>
  <p>And then used these command to get output between date range</p>
  <pre><code>sed -n '/3day=date --date='-3 day' '+%Y/%m/%d'/,/date/p' s.txt
  </code></pre>
  <p>I am getting this error:</p>
  <pre><code>sed: -e expression #1, char 20: unterminated address regex
  </code></pre>
  <p>Please Help me to fix this issue. I'll be using this in a bash script.</p>