title: UNTIL LOOP in shell for read file
body: <pre><code>#!/bin/bash
  i=1
  cat days.txt | while read days
  do
      echo $i $days
      let i++
  done
  </code></pre>
  
  <p>I want to change while loop into until loop</p>
  
  <pre><code>#!/bin/bash
  i=1
  until conditions
  do
      echo $i $days
      let i++
  done
  </code></pre>
  
  <p>expected result </p>
  
  <ol>
  <li>Monday</li>
  <li>Tuesday</li>
  <li>Wednesday</li>
  <li>Blah Blah Blah</li>
  </ol>