title: Use bash script to read numbers
body: <p>Write a bash script that will read 10 integers from users and append the output to a file ‘XYZ’.  You are not allowed to use the ‘read’ statement more than once in the script.</p>
  
  <pre><code>#! /bin/bash
  
  for i in {0,1,2,3,4,5,6,7,8,9}
  do
      read "i"
      echo "0,1,2,3,4,5,6,7,8,9" &gt;&gt; XYZ
  done
  </code></pre>
  
  <p>I am a student just bengin to learn this, I feel it is difficult, could you give me some suggestions? I think this should have many problems. Thank you very much.</p>