title: Is the EFI shell flexible enough to loop over boot entries?
body: <p>I'm trying to write an EFI shell script which deletes all boot entries (as given in <code>bcfg dump boot</code>), without knowing how many exist ahead-of-time.</p>
  
  <p>The language provides a looping construct, patterned off that from Microsoft's shells:</p>
  
  <pre><code>for var in &lt;set&gt;
     ...
  endfor
  </code></pre>
  
  <p>...but I'm unclear on whether there's a reasonable way to get the numeric identifiers of the boot entries from <code>bcfg dump</code> into the <code>&lt;set&gt;</code>.</p>