title: TCL wildcard/glob usage within file name
body: <p>I have code that is like this:</p>
  
  <pre><code>...
  proc myProc {first last} {
      for { set i $first } { $i &lt;= $last } { incr i } {
          set i_cur "PlainText$i"
          &lt;command&gt; [glob ./../myDir/${i_cur}*]
      }
  }
  </code></pre>
  
  <p>When I run this, any file that has nothing after the number will run fine. But if there is something after the number then it doesn't.
  For example, I have the valid files named <code>PlainText0.txt</code>, <code>PlainText00.txt</code>, and <code>PlainText1_Plaintext.txt</code>. The first two work and <code>PlainText1_Plaintext.txt</code> doesn't.</p>
  
  <p>Basically, I do not think I am using a glob/wildcard correctly, but don't know how.</p>