title: Terminal loop works for mac but not pc python
body: <p>I have a terminal loop command which I use on mac: </p>
  
  <pre><code>for i in {1..30}; do python Rev1stRT.py A${i}F.txt FirstRevRtA${i}.txt; done
  </code></pre>
  
  <p>this works for a bunch files named <code>A1F.txt</code> <code>A2F.txt</code> <code>A3F.txt</code> etc etc
  I have send the command for the student (she uses pc), but she gets the following error: </p>
  
  <pre><code>Missing opening '(' after keyword 'for'.
  At line:1 char:5
  for &lt;&lt;&lt;&lt; i in {1..30}; do python Rev1stRT.py A${i}F.txt FirstRevRtA${i}.txt; done
  CategoryInfo    : ParserError: (OpenParenToken:TokenId) [], ParentContainsErrorRecordException
  FullyQualifiedErrorId: MissingOpenParenthesisAfterKeyword  
  </code></pre>
  
  <p>However, if she tries to run the same script as a single command (i.e., <code>python Rev1stRT.py A2F.txt FirstRevRtA2.txt</code>) everything works fine (which means that she has the data files and script file in the correct folder as I instructed) </p>
  
  <p>UPDATE (functioning Powershell loop):</p>
  
  <pre><code> $dirs = Get-ChildItem $directory | where {$_.psiscontainer -eq $false} 
  
   foreach ($d in $dirs){ python script.py $d "${d}_output.txt";}`
  </code></pre>