title: how can i use until loop read text file (bashshell)
body: <p>What Should i do i am a beginner</p>
  
  <pre><code>#!/bin/bash
  i=1
  cat days.txt | until [ ! $i -le 7 ] read item
  do
          echo $i $item
          let i++ 
  done
  </code></pre>
  
  <p>This is the result I want.<br>
  1 Monday<br>
  2 Tuesday<br>
  3 Wednesday<br>
  4 Thursday<br>
  5 Friday<br>
  6 Saturday<br>
  7 Sunday  </p>