title: submit sbatch jobs in loop
body: <p>I have a txt file (say jobs.txt) that has several lines like: </p>
  
  <p>"sbatch -w node00x script.sh 1"<br/>
  "sbatch -w node00z script.sh 10"<br/>
  .<br/>
  . <br/>
  etc <br/></p>
  
  <p>I wonder if it is possible to create an executable bash file like the following </p>
  
  <p>#!/bin/bash</p>
  
  <p>while read -r line;<br/>
  do <strong>submit the job by line</strong>; <br/>
  done &lt; jobs.txt; <br/></p>
  
  <p>that I can just execute and which will run the jobs in respective nodes. I have very limited knowledge in this area. Would appreciate any help. </p>