title: Dynamic dialog --menu box in bash
body: <p>I'm searching for good explanation about making dynamic dialog --menu box in bash. I'm trying to load a list of users from a file that have structure like this:</p>
  
  <pre><code>------ user ------  
  /rw412 0.2 /rx511 23.1 /sgo23 9.2  
  /fs352 1.4 /...  
  ------ another_user ------
  /rw412 0.3 / and so on...
  </code></pre>
  
  <p>of course the user name is between <code>------</code><br>
  i don't really know how to use loops inside dialog. I'm also trying to avoid creating additional files.</p>
  
  <p>Please help</p>